From 960fdf9ac3a15eceebd8dd6882bedaae787fa5fb Mon Sep 17 00:00:00 2001 From: Fred Drake Date: Fri, 20 Jul 2001 18:38:26 +0000 Subject: 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. --- Lib/string.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Lib/string.py') diff --git a/Lib/string.py b/Lib/string.py index 913d980bae..d682fc7abc 100644 --- a/Lib/string.py +++ b/Lib/string.py @@ -24,6 +24,9 @@ whitespace = ' \t\n\r\v\f' lowercase = 'abcdefghijklmnopqrstuvwxyz' uppercase = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' letters = lowercase + uppercase +ascii_lowercase = lowercase +ascii_uppercase = uppercase +ascii_letters = ascii_lowercase + ascii_uppercase digits = '0123456789' hexdigits = digits + 'abcdef' + 'ABCDEF' octdigits = '01234567' -- cgit v1.2.1