mirror of
https://github.com/python/cpython.git
synced 2025-07-14 06:45:17 +00:00
Use string.ascii_letters instead of string.letters (SF bug #226706).
This commit is contained in:
parent
f69868f304
commit
79e75e1916
15 changed files with 17 additions and 18 deletions
|
@ -31,7 +31,7 @@ import linecache
|
|||
# Because this is a pretty expensive hack, a cache is kept.
|
||||
|
||||
SET_LINENO = 127 # The opcode (see "opcode.h" in the Python source)
|
||||
identchars = string.letters + string.digits + '_' # Identifier characters
|
||||
identchars = string.ascii_letters + string.digits + '_' # Identifier characters
|
||||
|
||||
_namecache = {} # The cache
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue