0001 # -*- coding: iso-8859-1 -*- 0002 """ Python 'escape' Codec 0003 0004 0005 Written by Martin v. Löwis (martin@v.loewis.de). 0006 0007 """ 0008 import codecs 0009 0010 class Codec(codecs.Codec): 0011 0012 encode = codecs.escape_encode 0013 decode = codecs.escape_decode 0014 0015 class StreamWriter(Codec,codecs.StreamWriter): 0016 pass 0017 0018 class StreamReader(Codec,codecs.StreamReader): 0019 pass 0020 0021 def getregentry(): 0022 0023 return (Codec.encode,Codec.decode,StreamReader,StreamWriter) 0024
Generated by PyXR 0.9.4