diff options
author | Tim Peters <tim.peters@gmail.com> | 2002-08-08 20:19:19 (GMT) |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2002-08-08 20:19:19 (GMT) |
commit | 469cdad8228df7bc294dc946b8cd4c0b7f810735 (patch) | |
tree | d2ce468dd141967a43a9930735226d4183400c2c /Lib/encodings/cp1140.py | |
parent | d7e8a0dd372a928749674f5f5fd11a96115e0801 (diff) | |
download | cpython-469cdad8228df7bc294dc946b8cd4c0b7f810735.zip cpython-469cdad8228df7bc294dc946b8cd4c0b7f810735.tar.gz cpython-469cdad8228df7bc294dc946b8cd4c0b7f810735.tar.bz2 |
Whitespace normalization.
Diffstat (limited to 'Lib/encodings/cp1140.py')
-rw-r--r-- | Lib/encodings/cp1140.py | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/Lib/encodings/cp1140.py b/Lib/encodings/cp1140.py index 68f64ab..5fd31a6 100644 --- a/Lib/encodings/cp1140.py +++ b/Lib/encodings/cp1140.py @@ -14,14 +14,14 @@ class Codec(codecs.Codec): def encode(self,input,errors='strict'): return codecs.charmap_encode(input,errors,encoding_map) - + def decode(self,input,errors='strict'): return codecs.charmap_decode(input,errors,decoding_map) class StreamWriter(Codec,codecs.StreamWriter): pass - + class StreamReader(Codec,codecs.StreamReader): pass @@ -36,10 +36,9 @@ def getregentry(): decoding_map = copy.copy(cp037.decoding_map) decoding_map.update({ - 0x009f: 0x20ac # EURO SIGN + 0x009f: 0x20ac # EURO SIGN }) ### Encoding Map encoding_map = codecs.make_encoding_map(decoding_map) - |