]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Backport of 1.15:
authorGuido van Rossum <guido@python.org>
Thu, 26 Sep 2002 20:08:55 +0000 (20:08 +0000)
committerGuido van Rossum <guido@python.org>
Thu, 26 Sep 2002 20:08:55 +0000 (20:08 +0000)
Oops, must convert hyphens to underscores in keys of aliases dict.

Lib/encodings/aliases.py

index 64b94c466e459d0bbb6bef35ee8a4ae9a04a2c3e..e9a480074aff4aebd229336612eef6b628ef245e 100644 (file)
@@ -36,7 +36,7 @@ aliases = {
     # ASCII
     'us_ascii': 'ascii',
     'ansi_x3.4_1968': 'ascii', # used on Linux
-    'ansi-x3-4-1968': 'ascii', # used on BSD?
+    'ansi_x3_4_1968': 'ascii', # used on BSD?
     '646': 'ascii',            # used on Solaris
 
     # EBCDIC