Files
openide/python/testData/refactoring/inlineFunction/nameClashWithImport/main.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

7 lines
109 B
Python

from src1 import foo
from src2 import bar # foo uses different bar
unrelated = bar(1)
res = f<caret>oo(2)