관리-도구
편집 파일: charmap.cpython-39.opt-2.pyc
a R�f$ � @ sr d dl Z G dd� de j�ZG dd� de j�ZG dd� de j�ZG dd � d ee j�ZG d d� dee j�Zdd � ZdS )� Nc @ s e Zd ZejZejZdS )�CodecN)�__name__� __module__�__qualname__�codecs�charmap_encode�encode�charmap_decode�decode� r r �6/opt/alt/python39/lib64/python3.9/encodings/charmap.pyr s r c @ s e Zd Zddd�Zd dd�ZdS ) �IncrementalEncoder�strictNc C s t j�| |� || _d S �N)r r �__init__�mapping��self�errorsr r r r r s zIncrementalEncoder.__init__Fc C s t �|| j| j�d S �Nr )r r r r �r �input�finalr r r r s zIncrementalEncoder.encode)r N)F�r r r r r r r r r r s r c @ s e Zd Zddd�Zd dd�ZdS ) �IncrementalDecoderr Nc C s t j�| |� || _d S r )r r r r r r r r r ! s zIncrementalDecoder.__init__Fc C s t �|| j| j�d S r )r r r r r r r r r % s zIncrementalDecoder.decode)r N)F�r r r r r r r r r r s r c @ s e Zd Zddd�Zddd�ZdS ) �StreamWriterr Nc C s t j�| ||� || _d S r )r r r r �r �streamr r r r r r * s zStreamWriter.__init__c C s t �||| j�S r )r r r �r r r r r r r . s zStreamWriter.encode)r N)r r r r r r r ( s r c @ s e Zd Zddd�Zddd�ZdS ) �StreamReaderr Nc C s t j�| ||� || _d S r )r r r r r r r r r 3 s zStreamReader.__init__c C s t �||| j�S r )r r r r r r r r 7 s zStreamReader.decode)r N)r r r r r r r 1 s r c C s t jdtjtjttttd�S )N�charmap)�namer r �incrementalencoder�incrementaldecoder�streamwriter�streamreader) r � CodecInfor r r r r r r r r r r �getregentry<