Files
openide/python/testData/refactoring/inlineFunction/nameClashWithImport/main.after.py
Aleksei Kniazev 33632c12c2 IDEA-CR-49790: function inline: already imported names should not be reimported (PY-36803)
GitOrigin-RevId: b2bd04bcfc09898db6accd94210fb8c2097e7c92
2019-07-09 13:03:53 +03:00

8 lines
121 B
Python

from src1 import bar as bar1
from src2 import bar # foo uses different bar
unrelated = bar(1)
y = bar1(2)
res = 2 + y