HEX
Server: nginx/1.24.0
System: Linux DGT-WORDPRESS-VM-SERVER 6.14.0-1017-azure #17~24.04.1-Ubuntu SMP Mon Dec 1 20:10:50 UTC 2025 x86_64
User: ubuntu (1000)
PHP: 8.4.12
Disabled: NONE
Upload Files
File: //usr/lib/python3.12/encodings/__pycache__/mbcs.cpython-312.pyc
�

F�ri�����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 ([email protected]) from ascii.py,
which was written by Marc-Andre Lemburg ([email protected]).

(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