o ?Og@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)inputerrorsr5/opt/alt/python310/lib64/python3.10/encodings/mbcs.pydecodes r c@seZdZdddZdS)IncrementalEncoderFcCst||jdS)Nr)rr)selfrfinalrrrencodeszIncrementalEncoder.encodeN)F)__name__ __module__ __qualname__r rrrrr sr c@eZdZeZdS)IncrementalDecoderN)rrrr_buffer_decoderrrrrrc@r) StreamWriterN)rrrrr rrrrrrrc@r) StreamReaderN)rrrrr rrrrr!rrc CstjdttttttdS)Nmbcs)namer r incrementalencoderincrementaldecoder streamreader streamwriter)codecs CodecInfor r r rrrrrrr getregentry&sr)r) __doc__rrrr r r BufferedIncrementalDecoderrrrrrrrrs