U e5d@szddlmZmZddlZeZdddZGdddejZGdd d ejZGd d d ejZGd d d ej Z ddZ dS)) oem_encode oem_decodeNstrictcCs t||dS)NT)r)inputerrorsr%/usr/lib64/python3.8/encodings/oem.pydecodesr c@seZdZdddZdS)IncrementalEncoderFcCst||jdS)Nr)rr)selfrfinalrrrencodeszIncrementalEncoder.encodeN)F)__name__ __module__ __qualname__r rrrrr sr c@seZdZeZdS)IncrementalDecoderN)rrrr_buffer_decoderrrrrsrc@seZdZeZdS) StreamWriterN)rrrrr rrrrrsrc@seZdZeZdS) StreamReaderN)rrrrr rrrrrsrc CstjdttttttdS)NZoem)namer r incrementalencoderincrementaldecoder streamreader streamwriter)codecs CodecInfor r r rrrrrrr getregentry sr)r) rrrr r r BufferedIncrementalDecoderrrrrrrrrs