Index: Lib/string.py =================================================================== RCS file: /cvsroot/jython/jython/Lib/string.py,v retrieving revision 1.8 diff -u -r1.8 string.py --- Lib/string.py 2000/09/30 10:40:20 1.8 +++ Lib/string.py 2002/01/07 05:41:40 @@ -9,6 +9,13 @@ Public module variables: +ascii_letters -- The concatenation of the ascii_lowercase and ascii_uppercase + constants described below. This value is not locale-dependent. +ascii_lowercase -- a string containing all characters considered lowercase + letters that is not locale-dependent and will not change. +ascii_uppercase -- a string containing all characters considered uppercase + letters that is not locale-dependent and will not change. +digits whitespace -- a string containing all characters considered whitespace lowercase -- a string containing all characters considered lowercase letters uppercase -- a string containing all characters considered uppercase letters @@ -27,6 +34,11 @@ digits = '0123456789' hexdigits = digits + 'abcdef' + 'ABCDEF' octdigits = '01234567' + +# not set to 'lowercase' or 'uppercase' because they can change +ascii_lowercase = 'abcdefghijklmnopqrstuvwxyz' +ascii_uppercase = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' +ascii_letters = ascii_lowercase + ascii_uppercase # Case conversion helpers _idmap = ''