1
0
forked from VimPlug/jedi

small corrections in too few argument errors

This commit is contained in:
Dave Halter
2014-05-26 17:38:14 +02:00
parent 425f7a8b64
commit 720907531b
2 changed files with 9 additions and 2 deletions

View File

@@ -80,7 +80,7 @@ def get_params(evaluator, func, var_args):
# assignment, just the result. Therefore nothing has to be
# returned.
values = []
if isinstance(var_args, pr.Array):
if not keys_only and isinstance(var_args, pr.Array):
#print(var_args, var_args.start_pos, id(var_args))
#original_var_ars = var_args
#if len(var_args) == 0: