1
0
forked from VimPlug/jedi

fix issues with the previous commits (broken tests)

This commit is contained in:
Dave Halter
2014-06-10 01:13:37 +02:00
parent 081fa79d9b
commit e6331f8ac8
2 changed files with 8 additions and 3 deletions

View File

@@ -322,7 +322,7 @@ def _gen_param_name_copy(func, var_args, param, keys=(), values=(), array_type=N
# create an Array (-> needed for *args/**kwargs tuples/dicts)
arr = pr.Array(helpers.FakeSubModule, start_pos, array_type, parent)
arr.values = values
arr.values = list(values) # Arrays only work with list.
key_stmts = []
for key in keys:
key_stmts.append(helpers.FakeStatement([key], start_pos))