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

6 lines
123 B
Python

from statistics import (
median,
variance,
)
print( median,variance)#poorly formatted, but shouldn't be affected