forked from VimPlug/jedi
star imports of object imports were ignored, fixes #59
This commit is contained in:
+3
-1
@@ -161,7 +161,9 @@ class ImportPath(object):
|
|||||||
evaluate.get_scopes_for_name(s, rest[0], is_goto=True)
|
evaluate.get_scopes_for_name(s, rest[0], is_goto=True)
|
||||||
for s in scopes)
|
for s in scopes)
|
||||||
else:
|
else:
|
||||||
scopes = evaluate.follow_path(iter(rest), scope)
|
scopes = itertools.chain.from_iterable(
|
||||||
|
evaluate.follow_path(iter(rest), s)
|
||||||
|
for s in scopes)
|
||||||
scopes = list(scopes)
|
scopes = list(scopes)
|
||||||
|
|
||||||
if self.is_nested_import():
|
if self.is_nested_import():
|
||||||
|
|||||||
Reference in New Issue
Block a user