<s> import _codecs_cn , codecs <EOL> import _multibytecodec as mbc <EOL> codec = _codecs_cn . getcodec ( '<STR_LIT>' ) <EOL> class Codec ( codecs . Codec ) : <EOL> encode = codec . encode <EOL> decode = codec . decode <EOL> class IncrementalEncoder ( mbc . MultibyteIncrementalEncoder , <EOL> codecs . IncrementalEncoder ) : <EOL> codec = codec <EOL> class IncrementalDecoder ( mbc . MultibyteIncrementalDecoder , <EOL> codecs . IncrementalDecoder ) : <EOL> codec = codec <EOL> class StreamReader ( Codec , mbc . MultibyteStreamReader , codecs . StreamReader ) : <EOL> codec = codec <EOL> class StreamWriter ( Codec , mbc . MultibyteStreamWriter , codecs . StreamWriter ) : <EOL> codec = codec <EOL> def getregentry ( ) : <EOL> return codecs . CodecInfo ( <EOL> name = '<STR_LIT>' , <EOL> encode = Codec ( ) . encode , <EOL> decode = Codec ( ) . decode , <EOL> incrementalencoder = IncrementalEncoder , <EOL> incrementaldecoder = IncrementalDecoder , <EOL> streamreader = StreamReader , <EOL> streamwriter = StreamWriter , <EOL> ) </s>
