summaryrefslogtreecommitdiff
path: root/Lib/encodings/iso8859_9.py
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2002-08-08 20:19:19 +0000
committerTim Peters <tim.peters@gmail.com>2002-08-08 20:19:19 +0000
commitbd1a73e7ff7d0e8f89dc47dcf5c8203484215a71 (patch)
treebf75f2fd33678544afa12b5c38a9715aa67b0b3c /Lib/encodings/iso8859_9.py
parentdf58f02efac190a0c4c37513154d51db0ccf7e9b (diff)
downloadcpython-bd1a73e7ff7d0e8f89dc47dcf5c8203484215a71.tar.gz
Whitespace normalization.
Diffstat (limited to 'Lib/encodings/iso8859_9.py')
-rw-r--r--Lib/encodings/iso8859_9.py16
1 files changed, 8 insertions, 8 deletions
diff --git a/Lib/encodings/iso8859_9.py b/Lib/encodings/iso8859_9.py
index ad0c19083d..28a603fa8a 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