summaryrefslogtreecommitdiffstats
path: root/Lib/test/testcodec.py
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2001-01-18 02:22:22 (GMT)
committerTim Peters <tim.peters@gmail.com>2001-01-18 02:22:22 (GMT)
commitd2bf3b7ca6f702f54b8e81ea8d194fc116ac6791 (patch)
treec34fdd1272160f21e142ecf814d1dd68ff5cfa98 /Lib/test/testcodec.py
parentbe4cbb16681ba9274b3017d9ccf3bcb2a2dbc30c (diff)
downloadcpython-d2bf3b7ca6f702f54b8e81ea8d194fc116ac6791.zip
cpython-d2bf3b7ca6f702f54b8e81ea8d194fc116ac6791.tar.gz
cpython-d2bf3b7ca6f702f54b8e81ea8d194fc116ac6791.tar.bz2
Whitespace normalization. Leaving tokenize_tests.py alone for now.
Diffstat (limited to 'Lib/test/testcodec.py')
-rw-r--r--Lib/test/testcodec.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/Lib/test/testcodec.py b/Lib/test/testcodec.py
index 0cf9b07..5da754d 100644
--- a/Lib/test/testcodec.py
+++ b/Lib/test/testcodec.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
@@ -46,4 +46,3 @@ decoding_map.update({
encoding_map = {}
for k,v in decoding_map.items():
encoding_map[v] = k
-