summaryrefslogtreecommitdiffstats
path: root/Lib/encodings
diff options
context:
space:
mode:
authorMarc-André Lemburg <mal@egenix.com>2004-12-10 21:54:35 (GMT)
committerMarc-André Lemburg <mal@egenix.com>2004-12-10 21:54:35 (GMT)
commit9ab8818c875875093f138ba407e8937e1f822f4f (patch)
treec785b7a2ff7450200c50a5a55b1add81afe75a3b /Lib/encodings
parent8ef9b3e527f39dad554b06a3da31b139322c752c (diff)
downloadcpython-9ab8818c875875093f138ba407e8937e1f822f4f.zip
cpython-9ab8818c875875093f138ba407e8937e1f822f4f.tar.gz
cpython-9ab8818c875875093f138ba407e8937e1f822f4f.tar.bz2
Rearranged mappings to value sorting order.
Diffstat (limited to 'Lib/encodings')
-rw-r--r--Lib/encodings/aliases.py26
1 files changed, 13 insertions, 13 deletions
diff --git a/Lib/encodings/aliases.py b/Lib/encodings/aliases.py
index 80652dc..bf7643e 100644
--- a/Lib/encodings/aliases.py
+++ b/Lib/encodings/aliases.py
@@ -122,7 +122,7 @@ aliases = {
'ibm500' : 'cp500',
# cp775 codec
- '775' : 'cp775',
+ '775' : 'cp775',
'cspc775baltic' : 'cp775',
'ibm775' : 'cp775',
@@ -294,6 +294,11 @@ aliases = {
'l6' : 'iso8859_10',
'latin6' : 'iso8859_10',
+ # iso8859_11 codec
+ 'thai' : 'iso8859_11',
+ 'iso_8859_11' : 'iso8859_11',
+ 'iso_8859_11_2001' : 'iso8859_11',
+
# iso8859_13 codec
'iso_8859_13' : 'iso8859_13',
@@ -308,6 +313,13 @@ aliases = {
# iso8859_15 codec
'iso_8859_15' : 'iso8859_15',
+ # iso8859_16 codec
+ 'iso_8859_16' : 'iso8859_16',
+ 'iso_8859_16_2001' : 'iso8859_16',
+ 'iso_ir_226' : 'iso8859_16',
+ 'l10' : 'iso8859_16',
+ 'latin10' : 'iso8859_16',
+
# iso8859_2 codec
'csisolatin2' : 'iso8859_2',
'iso_8859_2' : 'iso8859_2',
@@ -373,18 +385,6 @@ aliases = {
'l5' : 'iso8859_9',
'latin5' : 'iso8859_9',
- # iso8859_11 codec
- 'thai' : 'iso8859_11',
- 'iso_8859_11' : 'iso8859_11',
- 'iso_8859_11_2001' : 'iso8859_11',
-
- # iso8859_16 codec
- 'iso_8859_16' : 'iso8859_16',
- 'iso_8859_16_2001' : 'iso8859_16',
- 'iso_ir_226' : 'iso8859_16',
- 'l10' : 'iso8859_16',
- 'latin10' : 'iso8859_16',
-
# johab codec
'cp1361' : 'johab',
'ms1361' : 'johab',