PyXR

c:\python24\lib \ encodings \ utf_7.py



0001 """ Python 'utf-7' Codec
0002 
0003 Written by Brian Quinlan (brian@sweetapp.com).
0004 """
0005 import codecs
0006 
0007 ### Codec APIs
0008 
0009 class Codec(codecs.Codec):
0010 
0011     # Note: Binding these as C functions will result in the class not
0012     # converting them to methods. This is intended.
0013     encode = codecs.utf_7_encode
0014     decode = codecs.utf_7_decode
0015 
0016 class StreamWriter(Codec,codecs.StreamWriter):
0017     pass
0018 
0019 class StreamReader(Codec,codecs.StreamReader):
0020     pass
0021 
0022 ### encodings module API
0023 
0024 def getregentry():
0025 
0026     return (Codec.encode,Codec.decode,StreamReader,StreamWriter)
0027 

Generated by PyXR 0.9.4
SourceForge.net Logo