mirror of
https://github.com/davidhalter/jedi.git
synced 2026-04-27 02:10:25 +08:00
goto: module lookup now don't includes star imports
This commit is contained in:
+2
-3
@@ -263,9 +263,8 @@ def goto(source, line, column, source_path):
|
||||
definitions = []
|
||||
for s in scopes:
|
||||
if isinstance(s, imports.ImportPath):
|
||||
definitions += s.follow()
|
||||
else:
|
||||
definitions.append(s)
|
||||
s = s.follow()[0]
|
||||
definitions.append(s)
|
||||
else:
|
||||
names = []
|
||||
#print 's', scopes
|
||||
|
||||
Reference in New Issue
Block a user