[Python-checkins] CVS: python/dist/src/Lib string.py,1.59,1.60

Fred L. Drake fdrake@users.sourceforge.net
2001年7月20日 11:38:29 -0700


Update of /cvsroot/python/python/dist/src/Lib
In directory usw-pr-cvs1:/tmp/cvs-serv24278/Lib
Modified Files:
	string.py 
Log Message:
Added the constants ascii_letters, ascii_lowercase, and ascii_uppercase
to the string module. This was determined to be the right approach in
SF bug #226706.
Index: string.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/string.py,v
retrieving revision 1.59
retrieving revision 1.60
diff -C2 -r1.59 -r1.60
*** string.py	2001年02月18日 03:30:53	1.59
--- string.py	2001年07月20日 18:38:26	1.60
***************
*** 25,28 ****
--- 25,31 ----
 uppercase = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 letters = lowercase + uppercase
+ ascii_lowercase = lowercase
+ ascii_uppercase = uppercase
+ ascii_letters = ascii_lowercase + ascii_uppercase
 digits = '0123456789'
 hexdigits = digits + 'abcdef' + 'ABCDEF'

AltStyle によって変換されたページ (->オリジナル) /