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/iso8859_9.py | |
parent | d7e8a0dd372a928749674f5f5fd11a96115e0801 (diff) | |
download | cpython-469cdad8228df7bc294dc946b8cd4c0b7f810735.zip cpython-469cdad8228df7bc294dc946b8cd4c0b7f810735.tar.gz cpython-469cdad8228df7bc294dc946b8cd4c0b7f810735.tar.bz2 |
Whitespace normalization.
Diffstat (limited to 'Lib/encodings/iso8859_9.py')
-rw-r--r-- | Lib/encodings/iso8859_9.py | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/Lib/encodings/iso8859_9.py b/Lib/encodings/iso8859_9.py index ad0c190..28a603f 100644 --- a/Lib/encodings/iso8859_9.py +++ b/Lib/encodings/iso8859_9.py @@ -16,14 +16,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 @@ -37,12 +37,12 @@ def getregentry(): decoding_map = codecs.make_identity_dict(range(256)) decoding_map.update({ - 0x00d0: 0x011e, # LATIN CAPITAL LETTER G WITH BREVE - 0x00dd: 0x0130, # LATIN CAPITAL LETTER I WITH DOT ABOVE - 0x00de: 0x015e, # LATIN CAPITAL LETTER S WITH CEDILLA - 0x00f0: 0x011f, # LATIN SMALL LETTER G WITH BREVE - 0x00fd: 0x0131, # LATIN SMALL LETTER DOTLESS I - 0x00fe: 0x015f, # LATIN SMALL LETTER S WITH CEDILLA + 0x00d0: 0x011e, # LATIN CAPITAL LETTER G WITH BREVE + 0x00dd: 0x0130, # LATIN CAPITAL LETTER I WITH DOT ABOVE + 0x00de: 0x015e, # LATIN CAPITAL LETTER S WITH CEDILLA + 0x00f0: 0x011f, # LATIN SMALL LETTER G WITH BREVE + 0x00fd: 0x0131, # LATIN SMALL LETTER DOTLESS I + 0x00fe: 0x015f, # LATIN SMALL LETTER S WITH CEDILLA }) ### Encoding Map |