mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-06 14:04:26 +08:00
'as' test and implementation for ImportName. Working pretty well.
This commit is contained in:
@@ -113,9 +113,12 @@ def as_imports():
|
||||
from import_tree.mod1 import a as xyz
|
||||
#? int()
|
||||
xyz
|
||||
import import_tree.mod1 as foo
|
||||
import not_existant, import_tree.mod1 as foo
|
||||
#? int()
|
||||
foo.a
|
||||
import import_tree.mod1 as bar
|
||||
#? int()
|
||||
bar.a
|
||||
|
||||
# -----------------
|
||||
# std lib modules
|
||||
|
||||
Reference in New Issue
Block a user