Files
openide/python/testData/optimizeImports/sameNameImportedWithDifferentAliasesInline.after.py
Mikhail Golubev 33012c4c70 PY-19836 When sorting imports by names use their aliases as tiebreaker
It's necessary for the rare case when the same definition, module or
package is imported multiple times with different aliases or both
with and without alias.
2016-06-15 20:46:01 +03:00

5 lines
86 B
Python

from foo import bar, bar as c
from foo import bar as a, bar as b
print(bar, a, b, c)