summaryrefslogtreecommitdiffstats
path: root/Lib/lib-old
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2001-07-20 19:05:50 (GMT)
committerFred Drake <fdrake@acm.org>2001-07-20 19:05:50 (GMT)
commit79e75e1916c33ee8e3de4c1b6c38221f2dba315c (patch)
tree96e3e40993ba8b5e4123470493e36797b3b10fdd /Lib/lib-old
parentf69868f304cb2198e4f43e73d5d8873d7222cda8 (diff)
downloadcpython-79e75e1916c33ee8e3de4c1b6c38221f2dba315c.zip
cpython-79e75e1916c33ee8e3de4c1b6c38221f2dba315c.tar.gz
cpython-79e75e1916c33ee8e3de4c1b6c38221f2dba315c.tar.bz2
Use string.ascii_letters instead of string.letters (SF bug #226706).
Diffstat (limited to 'Lib/lib-old')
-rw-r--r--Lib/lib-old/codehack.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/lib-old/codehack.py b/Lib/lib-old/codehack.py
index 52ac6be..248205b 100644
--- a/Lib/lib-old/codehack.py
+++ b/Lib/lib-old/codehack.py
@@ -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