Your IP : 18.191.223.30


Current Path : /opt/alt/python312/lib64/python3.12/encodings/__pycache__/
Upload File :
Current File : //opt/alt/python312/lib64/python3.12/encodings/__pycache__/mbcs.cpython-312.pyc

�

�Q�f�����dZddlmZmZddlZeZdd�ZGd�dej�ZGd�dej�ZGd	�d
ej�Z	Gd�dej�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��eZdZdd�Zy)�IncrementalEncoderc�4�t||j�dS)Nr)rr)�selfr�finals   r�encodezIncrementalEncoder.encodes���5�$�+�+�.�q�1�1r
N)F)�__name__�
__module__�__qualname__r�r
rrrs��2r
rc��eZdZeZy)�IncrementalDecoderN)rrrr�_buffer_decoderr
rrrs�� �Nr
rc��eZdZeZy)�StreamWriterN)rrrrrrr
rrr���
�Fr
rc��eZdZeZy)�StreamReaderN)rrrrr	rr
rrr!rr
rc	�j�tjdtttt
tt��S)N�mbcs)�namerr	�incrementalencoder�incrementaldecoder�streamreader�streamwriter)�codecs�	CodecInforr	rrrrrr
r�getregentryr&&s*�����
���-�-�!�!��r
)�strict)�__doc__r$rrrr	r�BufferedIncrementalDecoderrrrr&rr
r�<module>r*sk���,�
�
��,�2��2�2�2�!��:�:�!��6�&�&���6�&�&��
	r

?>