AddressList.__str__(): Get rid of useless, and broken method. Closes
[python/dscho.git] / Lib / encodings / utf_7.py
blobee78d09ee8b31eb1f2bab5baca3e6cebf97e0880
1 """ Python 'utf-7' Codec
3 Written by Brian Quinlan (brian@sweetapp.com).
4 """
5 import codecs
7 ### Codec APIs
9 class Codec(codecs.Codec):
11 # Note: Binding these as C functions will result in the class not
12 # converting them to methods. This is intended.
13 encode = codecs.utf_7_encode
14 decode = codecs.utf_7_decode
16 class StreamWriter(Codec,codecs.StreamWriter):
17 pass
19 class StreamReader(Codec,codecs.StreamReader):
20 pass
22 ### encodings module API
24 def getregentry():
26 return (Codec.encode,Codec.decode,StreamReader,StreamWriter)