Files
openide/python/testData/optimizeImports/sameModuleImportedWithDifferentAliases.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

6 lines
61 B
Python

import foo as b
import foo
import foo as a
print(foo, a, b)