Split Import, now there is ImportFrom and ImportName as it exists in the python grammar.
This commit is contained in:
1 parent
535a69e499
commit
3c6d5dafb1
5 files changed
+46
-27
No files matched your search
@@ -46,6 +46,7 @@ class ImportWrapper():
|
||||
|
||||
self._import = name.get_parent_until(pr.Import)
|
||||
self.import_path = self._import.path_for_name(name)
|
||||
self.is_like_search = False # TODO REMOVE
|
||||
|
||||
@memoize_default()
|
||||
def follow(self, is_goto=False):
|
||||
|
||||
Reference in new issue
Block a user