mirror of
https://github.com/python/cpython.git
synced 2025-11-02 03:01:58 +00:00
Remove string.{letters,lowercase,uppercase}.
This commit is contained in:
parent
5424df2f7e
commit
967f1e3b85
8 changed files with 17 additions and 46 deletions
|
|
@ -30,8 +30,8 @@ import string
|
|||
|
||||
oops = 'oops'
|
||||
|
||||
IDENTSTARTCHARS = string.letters + '_'
|
||||
IDENTCHARS = string.letters + string.digits + '_'
|
||||
IDENTSTARTCHARS = string.ascii_letters + '_'
|
||||
IDENTCHARS = string.ascii_letters + string.digits + '_'
|
||||
|
||||
# Check that string is a legal C identifier
|
||||
def checkid(str):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue