1
0
forked from VimPlug/jedi

renaming again, should be a little bit better. but some things are commented.

This commit is contained in:
David Halter
2012-09-20 17:27:00 +02:00
parent ea53d07238
commit 0e5a70a2db
4 changed files with 35 additions and 3 deletions

View File

@@ -353,7 +353,8 @@ def related_names(definitions, search_name, mods):
else:
search = None
scopes = evaluate.follow_call_path(iter(f), scope, position)
follow_res = evaluate.goto(scopes, search, statement_path_offset=0)
follow_res = evaluate.goto(scopes, search, statement_path_offset=0,
follow_import=True)
# compare to see if they match
if True in [r in definitions for r in follow_res]: