Your IP : 3.145.156.17
a
R�f� � @ s~ d Z ddlmZmZ ddlZeZddd�ZG dd� dej�ZG d d
� d
ej�ZG dd� dej �Z G d
d� dej
�Z
dd� ZdS )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_decodeN�strictc C s t | |d�S )NT)r )�input�errors� r �3/opt/alt/python39/lib64/python3.9/encodings/mbcs.py�decode s r c @ s e Zd Zddd�ZdS )�IncrementalEncoderFc C s t || j�d S )Nr )r r )�selfr �finalr r r �encode s zIncrementalEncoder.encodeN)F)�__name__�
__module__�__qualname__r
r r r r r
s r
c @ s e Zd ZeZdS )�IncrementalDecoderN)r r r r �_buffer_decoder r r r r s r c @ s e Zd ZeZdS )�StreamWriterN)r r r r r
r r r r r s r c @ s e Zd ZeZdS )�StreamReaderN)r r r r r r r r r r ! s r c C s t jdttttttd�S )N�mbcs)�namer
r �incrementalencoder�incrementaldecoder�streamreader�streamwriter)�codecs� CodecInfor
r r
r r r r r r r �getregentry&