diff options
author | Marc-André Lemburg <mal@egenix.com> | 2001-05-16 09:41:45 +0000 |
---|---|---|
committer | Marc-André Lemburg <mal@egenix.com> | 2001-05-16 09:41:45 +0000 |
commit | a022398f49499e657b3a3ead258fba8316312062 (patch) | |
tree | 3ad97d3d9a945701bc2917187e0df906caee303a /Lib/encodings/mac_cyrillic.py | |
parent | 7a13cb4887d60f47493bc8a043523b30104d0554 (diff) | |
download | cpython-a022398f49499e657b3a3ead258fba8316312062.tar.gz |
Moved the encoding map building logic from the individual mapping
codec files to codecs.py and added logic so that multi mappings
in the decoding maps now result in mappings to None (undefined mapping)
in the encoding maps.
Diffstat (limited to 'Lib/encodings/mac_cyrillic.py')
-rw-r--r-- | Lib/encodings/mac_cyrillic.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Lib/encodings/mac_cyrillic.py b/Lib/encodings/mac_cyrillic.py index 45528319b2..6ae4a30e0e 100644 --- a/Lib/encodings/mac_cyrillic.py +++ b/Lib/encodings/mac_cyrillic.py @@ -164,6 +164,4 @@ decoding_map.update({ ### Encoding Map -encoding_map = {} -for k,v in decoding_map.items(): - encoding_map[v] = k +encoding_map = codecs.make_encoding_map(decoding_map) |