forked from VimPlug/jedi
Refactoring: Make Import.get_all_import_names return NameParts.
This commit is contained in:
@@ -323,7 +323,7 @@ class Evaluator(object):
|
||||
if stmt.alias_name_part == call_path[0]:
|
||||
return [call_path[0]]
|
||||
|
||||
names = stmt.get_all_import_name_parts()
|
||||
names = stmt.get_all_import_names()
|
||||
# Filter names that are after our Name
|
||||
removed_names = len(names) - names.index(call_path[0]) - 1
|
||||
i = imports.ImportWrapper(self, stmt, kill_count=removed_names)
|
||||
|
||||
Reference in New Issue
Block a user