forked from VimPlug/jedi
protect token_list -> _token_list
This commit is contained in:
@@ -185,7 +185,7 @@ class NameFinder(object):
|
||||
types = []
|
||||
if stmt.is_global():
|
||||
# global keyword handling.
|
||||
for token_name in stmt.token_list[1:]:
|
||||
for token_name in stmt._token_list[1:]:
|
||||
if isinstance(token_name, pr.Name):
|
||||
return evaluator.find_types(stmt.parent, str(token_name))
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user