mirror of
https://github.com/python/cpython.git
synced 2025-07-16 07:45:20 +00:00
More 2to3 fixes in the Tools directory. Fixes #2893.
This commit is contained in:
parent
acbca71ea7
commit
bf82e374ee
38 changed files with 1999 additions and 2032 deletions
|
@ -55,7 +55,7 @@ def getregentry():
|
|||
""")
|
||||
|
||||
def gencodecs(prefix):
|
||||
for loc, encodings in codecs.iteritems():
|
||||
for loc, encodings in codecs.items():
|
||||
for enc in encodings:
|
||||
code = TEMPLATE.substitute(ENCODING=enc.upper(),
|
||||
encoding=enc.lower(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue