mirror of
https://github.com/davidhalter/jedi.git
synced 2026-08-18 10:47:59 +08:00
NamePart is now no str subclass anymore. They are separated, which makes us save a lot of dicts
This commit is contained in:
@@ -63,6 +63,7 @@ class ImportPath(pr.Base):
|
||||
self.import_path.append(import_stmt.namespace.names[0])
|
||||
else:
|
||||
self.import_path += import_stmt.namespace.names
|
||||
self.import_path = [str(name_part) for name_part in self.import_path]
|
||||
|
||||
for i in range(kill_count + int(is_like_search)):
|
||||
self.import_path.pop()
|
||||
|
||||
Reference in New Issue
Block a user