diff options
Diffstat (limited to 'Lib/encodings/uu_codec.py')
-rw-r--r-- | Lib/encodings/uu_codec.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/encodings/uu_codec.py b/Lib/encodings/uu_codec.py index 6ef8369..a70ff9e 100644 --- a/Lib/encodings/uu_codec.py +++ b/Lib/encodings/uu_codec.py @@ -37,7 +37,7 @@ def uu_encode(input,errors='strict',filename='<data>',mode=0666): write(b2a_uu(chunk)) chunk = read(45) write(' \nend\n') - + return (outfile.getvalue(), len(input)) def uu_decode(input,errors='strict'): @@ -98,10 +98,10 @@ class Codec(codecs.Codec): return uu_encode(input,errors) def decode(self,input,errors='strict'): return uu_decode(input,errors) - + class StreamWriter(Codec,codecs.StreamWriter): pass - + class StreamReader(Codec,codecs.StreamReader): pass |