diff Lib/lib-old/codehack.py @ 18781:01ae962df885 legacy-trunk

Use string.ascii_letters instead of string.letters (SF bug #226706).
author Fred Drake <fdrake@acm.org>
date Fri, 20 Jul 2001 19:05:50 +0000
parents eee67a84e5fa
children c3a096bfbd6b
line wrap: on
line diff
--- a/Lib/lib-old/codehack.py	Fri Jul 20 19:03:44 2001 +0000
+++ b/Lib/lib-old/codehack.py	Fri Jul 20 19:05:50 2001 +0000
@@ -31,7 +31,7 @@
 # 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