관리-도구
편집 파일: mbcs.cpython-311.opt-1.pyc
� c��f� � �� � d Z ddlmZmZ ddlZeZdd�Z G d� dej � � Z G d� d ej � � Z G d � dej � � Z G d� d ej � � Z d� 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 �$ � t | |d� � S )NT)r )�input�errorss �5/opt/alt/python311/lib64/python3.11/encodings/mbcs.py�decoder s � ��u�f�d�+�+�+� c � � e Zd Zdd�ZdS )�IncrementalEncoderFc �8 � 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( � � � � � �2� 2� 2� 2� 2� 2r r c � � e Zd ZeZdS )�IncrementalDecoderN)r r r r �_buffer_decoder r r r r s � � � � � � �N�N�Nr r c � � e Zd ZeZdS )�StreamWriterN)r r r r r r r r r r � � � � � � � �F�F�Fr r c � � e Zd ZeZdS )�StreamReaderN)r r r r r r r r r r ! r r r c �t � 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'