diff options
Diffstat (limited to 'Tools/unicode/gencodec.py')
-rw-r--r-- | Tools/unicode/gencodec.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Tools/unicode/gencodec.py b/Tools/unicode/gencodec.py index e7430b3..9b4ae16 100644 --- a/Tools/unicode/gencodec.py +++ b/Tools/unicode/gencodec.py @@ -295,8 +295,8 @@ class Codec(codecs.Codec): else: l.append('''\ return codecs.charmap_decode(input,errors,decoding_map)''') - - l.append(''' + + l.append(''' class StreamWriter(Codec,codecs.StreamWriter): pass @@ -330,7 +330,7 @@ def getregentry(): # Final new-line l.append('\n') - + return '\n'.join(l) def pymap(name,map,pyfile,comments=1): |