HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux spn-python 5.15.0-89-generic #99-Ubuntu SMP Mon Oct 30 20:42:41 UTC 2023 x86_64
User: arjun (1000)
PHP: 8.1.2-1ubuntu2.20
Disabled: NONE
Upload Files
File: //lib/python3.12/encodings/__pycache__/mbcs.cpython-312.pyc
�

<��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  �%/usr/lib/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