U e5d@s~dZddlmZmZddlZeZdddZGdddejZGd d d ejZGd d d ej Z Gd ddej Z ddZ dS)z Python 'mbcs' Codec for Windows Cloned by Mark Hammond (mhammond@skippinet.com.au) from ascii.py, which was written by Marc-Andre Lemburg (mal@lemburg.com). (c) Copyright CNRI, All Rights Reserved. NO WARRANTY. ) mbcs_encode mbcs_decodeNstrictcCs t||dS)NT)r)inputerrorsr&/usr/lib64/python3.8/encodings/mbcs.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 rrrrr!src CstjdttttttdS)Nmbcs)namer r incrementalencoderincrementaldecoder streamreader streamwriter)codecs CodecInfor r r rrrrrrr getregentry&sr)r) __doc__rrrr r r BufferedIncrementalDecoderrrrrrrrrs