mirror of
https://github.com/python/cpython.git
synced 2025-07-31 23:23:11 +00:00
Cookie.py shouldn't "bogusly" use string._idmap.
This commit is contained in:
parent
7a1af770b9
commit
d76bd69712
2 changed files with 4 additions and 3 deletions
|
@ -35,7 +35,6 @@ printable = digits + letters + punctuation + whitespace
|
|||
|
||||
# Case conversion helpers
|
||||
# Use str to convert Unicode literal in case of -U
|
||||
# Note that Cookie.py bogusly uses _idmap :(
|
||||
l = map(chr, xrange(256))
|
||||
_idmap = str('').join(l)
|
||||
del l
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue