mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Check for both imported and 'as' names in insertImport(), return false if no new import statements were inserted (PY-14439)
This commit is contained in:
+6
@@ -0,0 +1,6 @@
|
||||
if True:
|
||||
import pkgutil
|
||||
else:
|
||||
from pkg2.pkg1 import mod2 as pkgutil
|
||||
|
||||
print(pkgutil)
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
if True:
|
||||
import pkgutil
|
||||
else:
|
||||
from pkg1 import mod2 as pkgutil
|
||||
|
||||
print(pkgutil)
|
||||
Reference in New Issue
Block a user