Files
openide/python/testData/optimizeImports/alphabeticalOrder.after.py
Mikhail Golubev aaef12ce91 PY-22355 Optimize imports honors new code style settings for "from" imports
Namely, it automatically surrounds them with parentheses and inserts
a trailing comma after the last imported name if necessary, e.g. when
several "from" imports with the same source were combined into a
single long statement that needs to be wrapped.
2017-03-06 17:15:58 +03:00

25 lines
484 B
Python

from __future__ import absolute_import
from __future__ import unicode_literals
import sys
from datetime import timedelta
import # broken
import a
import b
import foo # broken
import z
from
from a import C1
from alphabet import *
from alphabet import B, A
from alphabet import C
from alphabet import D
from b import func
from . import m1
from . import m4, m5
from .pkg import m3
from .. import m2
print(z, b, a, C1, func, sys, abc, foo, timedelta, A, B, C, D, m1, m2, m3, m4, m5)