Issue #27891: Consistently group and sort imports within idlelib modules.

This commit is contained in:
Terry Jan Reedy 2016-08-31 00:50:55 -04:00
parent 89b1162511
commit bfbaa6b206
47 changed files with 200 additions and 125 deletions

View file

@ -4,11 +4,10 @@
proper indentation of code. HyperParser gives additional information on
the structure of code.
"""
import string
from keyword import iskeyword
from idlelib import pyparse
import string
from idlelib import pyparse
# all ASCII chars that may be in an identifier
_ASCII_ID_CHARS = frozenset(string.ascii_letters + string.digits + "_")