1
0
forked from VimPlug/jedi
This commit is contained in:
Dave Halter
2014-09-09 16:51:46 +02:00
parent 87aa76678a
commit 38f7296f39

View File

@@ -326,7 +326,7 @@ class Evaluator(object):
# reference. In this case it's just a definition. So we stay on it.
if len(call_path) == 1 and isinstance(call_path[0], pr.NamePart) \
and call_path[0] in [d.names[-1] for d in stmt.get_defined_names()]:
# Named params should get resolved to their param defintions.
# Named params should get resolved to their param definitions.
if pr.Array.is_type(stmt.parent, pr.Array.TUPLE, pr.Array.NOARRAY) \
and stmt.parent.previous:
call = deep_ast_copy(stmt.parent.previous)