summaryrefslogtreecommitdiffstats
path: root/Lib/encodings/cp1140.py
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2002-08-08 20:19:19 (GMT)
committerTim Peters <tim.peters@gmail.com>2002-08-08 20:19:19 (GMT)
commit469cdad8228df7bc294dc946b8cd4c0b7f810735 (patch)
treed2ce468dd141967a43a9930735226d4183400c2c /Lib/encodings/cp1140.py
parentd7e8a0dd372a928749674f5f5fd11a96115e0801 (diff)
downloadcpython-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.py7
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)
-