""" Python 'unicode-escape' CodecWritten by Marc-Andre Lemburg (mal@lemburg.com).(c) Copyright CNRI, All Rights Reserved. NO WARRANTY."""importcodecs### Codec APIsclassCodec(codecs.Codec):# Note: Binding these as C functions will result in the class not# converting them to methods. This is intended.encode=codecs.unicode_escape_encodedecode=codecs.unicode_escape_decodeclassStreamWriter(Codec,codecs.StreamWriter):passclassStreamReader(Codec,codecs.StreamReader):pass### encodings module APIdefgetregentry():return(Codec.encode,Codec.decode,StreamReader,StreamWriter)