def teletex_search_function(name):
 if (name != u'teletex'):
  return None
 return codecs.CodecInfo(name=u'teletex', encode=TeletexCodec().encode, decode=TeletexCodec().decode, incrementalencoder=TeletexIncrementalEncoder, incrementaldecoder=TeletexIncrementalDecoder, streamreader=TeletexStreamReader, streamwriter=TeletexStreamWriter)

def teletex_search_function ( name ) : if ( name != u'teletex' ) : return None return codecs . CodecInfo ( name = u'teletex' , encode = TeletexCodec ( ) . encode , decode = TeletexCodec ( ) . decode , incrementalencoder = TeletexIncrementalEncoder , incrementaldecoder = TeletexIncrementalDecoder , streamreader = TeletexStreamReader , streamwriter = TeletexStreamWriter )
search function for teletex codec that is passed to codecs .