zb21 d Z ddlZ G d dej Z G d dej Z G d dej Z G d d eej Z G d deej Zd ZdZ ej e Z dS )a Python Character Mapping Codec mac_latin2 generated from 'MAPPINGS/VENDORS/MICSFT/MAC/LATIN2.TXT' with gencodec.py. Written by Marc-Andre Lemburg (mal@lemburg.com). (c) Copyright CNRI, All Rights Reserved. NO WARRANTY. (c) Copyright 2000 Guido van Rossum. Nc e Zd ZddZddZdS )Codecstrictc 8 t j ||t S N)codecscharmap_encodeencoding_tableselfinputerrorss A/opt/alt/python-internal/lib64/python3.11/encodings/mac_latin2.pyencodezCodec.encode $U6.AAA c 8 t j ||t S r )r charmap_decodedecoding_tabler s r decodezCodec.decode r r N)r )__name__ __module____qualname__r r r r r r sF B B B BB B B B B Br r c e Zd ZddZdS )IncrementalEncoderFc N t j || j t d S Nr )r r r r r r finals r r zIncrementalEncoder.encode $U4;~FFqIIr NF)r r r r r r r r r . J J J J J Jr r c e Zd ZddZdS )IncrementalDecoderFc N t j || j t d S r )r r r r r s r r zIncrementalDecoder.decode r! r Nr" )r r r r r r r r% r% r# r r% c e Zd ZdS )StreamWriterNr r r r r r r( r( Dr r( c e Zd ZdS )StreamReaderNr) r r r r, r, ! r* r r, c t j dt j t j t t t t S )Nz mac-latin2)namer r incrementalencoderincrementaldecoderstreamreaderstreamwriter) r CodecInfor r r r r% r, r( r r r getregentryr4 &