From: Guido van Rossum Date: Thu, 26 Sep 2002 20:08:23 +0000 (+0000) Subject: Oops, must convert hyphens to underscores in keys of aliases dict. X-Git-Tag: v2.3c1~3970 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=479f3d3d2a8013a549120d8b71a0e191495599cb;p=thirdparty%2FPython%2Fcpython.git Oops, must convert hyphens to underscores in keys of aliases dict. --- diff --git a/Lib/encodings/aliases.py b/Lib/encodings/aliases.py index c842c610a7f6..b4212f2acff7 100644 --- a/Lib/encodings/aliases.py +++ b/Lib/encodings/aliases.py @@ -27,7 +27,7 @@ aliases = { '646' : 'ascii', 'ansi_x3.4_1968' : 'ascii', 'ansi_x3.4_1986' : 'ascii', - 'ansi-x3-4-1968' : 'ascii', + 'ansi_x3_4_1968' : 'ascii', 'cp367' : 'ascii', 'csascii' : 'ascii', 'ibm367' : 'ascii',