mirror of
https://github.com/davidhalter/jedi.git
synced 2026-05-11 09:08:43 +08:00
Typo.
This commit is contained in:
@@ -326,7 +326,7 @@ class Evaluator(object):
|
|||||||
# reference. In this case it's just a definition. So we stay on it.
|
# 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) \
|
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()]:
|
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) \
|
if pr.Array.is_type(stmt.parent, pr.Array.TUPLE, pr.Array.NOARRAY) \
|
||||||
and stmt.parent.previous:
|
and stmt.parent.previous:
|
||||||
call = deep_ast_copy(stmt.parent.previous)
|
call = deep_ast_copy(stmt.parent.previous)
|
||||||
|
|||||||
Reference in New Issue
Block a user