mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Fixed updating conditional imports on moving a module from a packge to top-level (PY-13870)
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
if True:
|
||||
import pkgutil
|
||||
else:
|
||||
import mod2 as pkgutil
|
||||
|
||||
print(pkgutil)
|
||||
@@ -0,0 +1,6 @@
|
||||
if True:
|
||||
import pkgutil
|
||||
else:
|
||||
from pkg1 import mod2 as pkgutil
|
||||
|
||||
print(pkgutil)
|
||||
Reference in New Issue
Block a user