mirror of
https://github.com/python/cpython.git
synced 2025-07-08 03:45:36 +00:00
Issue #27891: Consistently group and sort imports within idlelib modules.
This commit is contained in:
parent
89b1162511
commit
bfbaa6b206
47 changed files with 200 additions and 125 deletions
|
@ -4,11 +4,10 @@ HyperParser uses PyParser. PyParser mostly gives information on the
|
|||
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 + "_")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue