mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-05 01:50:56 +07:00
First of all, removed duplication and slightly simplified convoluted transformImportStatements() method. Also, extended existing test to include handling of comments when splitting "from" imports.
7 lines
114 B
Python
7 lines
114 B
Python
# line comment
|
|
from mod import bar
|
|
from mod import baz # inner comment
|
|
from mod import foo
|
|
|
|
print(foo, bar, baz)
|