mirror of
https://github.com/davidhalter/jedi.git
synced 2026-01-02 18:23:23 +08:00
The import path can be a list as well as a tuple. Deal with it.
This commit is contained in:
@@ -218,7 +218,7 @@ class Importer(object):
|
||||
debug.warning('Attempted relative import beyond top-level package.')
|
||||
else:
|
||||
# Here we basically rewrite the level to 0.
|
||||
import_path = tuple(base) + import_path
|
||||
import_path = tuple(base) + tuple(import_path)
|
||||
self.import_path = import_path
|
||||
|
||||
@property
|
||||
|
||||
Reference in New Issue
Block a user