evaluate.get_scopes_for_name -> evaluate.find_name
This commit is contained in:
1 parent
650b96dbda
commit
2b64171dd7
3 files changed
+10
-13
No files matched your search
+2
-2
@@ -185,8 +185,8 @@ class ImportPath(pr.Base):
|
||||
elif rest:
|
||||
if is_goto:
|
||||
scopes = itertools.chain.from_iterable(
|
||||
evaluate.get_scopes_for_name(s, rest[0], is_goto=True)
|
||||
for s in scopes)
|
||||
evaluate.find_name(s, rest[0], is_goto=True)
|
||||
for s in scopes)
|
||||
else:
|
||||
scopes = itertools.chain.from_iterable(
|
||||
evaluate.follow_path(iter(rest), s, s)
|
||||
|
||||
Reference in new issue
Block a user