diff options
author | Fred Drake <fdrake@acm.org> | 2001-07-20 19:05:50 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2001-07-20 19:05:50 (GMT) |
commit | 79e75e1916c33ee8e3de4c1b6c38221f2dba315c (patch) | |
tree | 96e3e40993ba8b5e4123470493e36797b3b10fdd /Lib/Cookie.py | |
parent | f69868f304cb2198e4f43e73d5d8873d7222cda8 (diff) | |
download | cpython-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/Cookie.py')
-rw-r--r-- | Lib/Cookie.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/Cookie.py b/Lib/Cookie.py index dd116b7..3fc2ffc 100644 --- a/Lib/Cookie.py +++ b/Lib/Cookie.py @@ -249,7 +249,7 @@ class CookieError(Exception): # _LegalChars is the list of chars which don't require "'s # _Translator hash-table for fast quoting # -_LegalChars = string.letters + string.digits + "!#$%&'*+-.^_`|~" +_LegalChars = string.ascii_letters + string.digits + "!#$%&'*+-.^_`|~" _Translator = { '\000' : '\\000', '\001' : '\\001', '\002' : '\\002', '\003' : '\\003', '\004' : '\\004', '\005' : '\\005', |