1
0
forked from VimPlug/jedi

evaluate.get_scopes_for_name -> evaluate.find_name

This commit is contained in:
David Halter
2013-02-05 18:26:38 +01:00
parent 650b96dbda
commit 2b64171dd7
3 changed files with 10 additions and 13 deletions

View File

@@ -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)