mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-09 07:14:48 +08:00
kwargs is now working, also within decorators
This commit is contained in:
@@ -549,7 +549,6 @@ class Execution(Executable):
|
|||||||
else:
|
else:
|
||||||
name = key[0].name
|
name = key[0].name
|
||||||
yield name, field
|
yield name, field
|
||||||
yield var_arg
|
|
||||||
# normal arguments (including key arguments)
|
# normal arguments (including key arguments)
|
||||||
else:
|
else:
|
||||||
if len(var_arg) > 1 and var_arg[1] == '=':
|
if len(var_arg) > 1 and var_arg[1] == '=':
|
||||||
@@ -1117,7 +1116,7 @@ def follow_call(scope, call):
|
|||||||
# reset the position, when imports where stripped
|
# reset the position, when imports where stripped
|
||||||
position = None
|
position = None
|
||||||
|
|
||||||
debug.dbg('call before result %s, current "%s", scope %s'
|
debug.dbg('before next follow %s, current "%s", scope %s'
|
||||||
% (result, current, scope))
|
% (result, current, scope))
|
||||||
result = follow_paths(path, result, position=position)
|
result = follow_paths(path, result, position=position)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user