B /g^c@szddlmZmZddlZeZdddZGdddejZGdd d ejZGd d d ejZGd d d ej Z ddZ dS)) oem_encode oem_decodeNstrictcCs t||dS)NT)r)inputerrorsr%/usr/lib64/python3.7/encodings/oem.pydecoderc@seZdZdddZdS)IncrementalEncoderFcCst||jdS)Nr)rr)ZselfrZfinalrrrencoder zIncrementalEncoder.encodeN)F)__name__ __module__ __qualname__r rrrrr r c@eZdZeZdS)IncrementalDecoderN)r r rrZ_buffer_decoderrrrrrrc@r) StreamWriterN)r r rrr rrrrrrrc@r) StreamReaderN)r r rrrrrrrrrrc CstjdttttttdS)NZoem)Znamer rZincrementalencoderZincrementaldecoderZ streamreaderZ streamwriter)codecsZ CodecInfor rr rrrrrrr getregentry sr)r) rrrr rr ZBufferedIncrementalDecoderrrrrrrrrZs