Hacked By AnonymousFox
�
�Q�f� � �� � d Z ddlmZmZ ddlZeZdd�Z G d� dej � Z G d� dej � Z G d � d
ej � Z G d� dej � Z
d
� Zy)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_decodeNc � � t | |d� S )NT)r )�input�errorss �5/opt/alt/python312/lib64/python3.12/encodings/mbcs.py�decoder s � ��u�f�d�+�+� c � � e Zd Zdd�Zy)�IncrementalEncoderc �4 � t || j � d S )Nr )r r )�selfr �finals r �encodezIncrementalEncoder.encode s � ��5�$�+�+�.�q�1�1r
N)F)�__name__�
__module__�__qualname__r � r
r r r s � �2r
r c � � e Zd ZeZy)�IncrementalDecoderN)r r r r �_buffer_decoder r
r r r s � � �Nr
r c � � e Zd ZeZy)�StreamWriterN)r r r r r r r
r r r � � �
�Fr
r c � � e Zd ZeZy)�StreamReaderN)r r r r r r r
r r r ! r r
r c �j � t j dt t t t
t t �� S )N�mbcs)�namer r �incrementalencoder�incrementaldecoder�streamreader�streamwriter)�codecs� CodecInfor r r r r r r r
r �getregentryr&