Your IP : 18.221.147.141
o
6��f$ � @ sv d Z ddlZG dd� dej�ZG dd� dej�ZG dd� dej�ZG d d
� d
eej�ZG dd� deej�Zd
d� ZdS )a Generic Python Character Mapping Codec.
Use this codec directly rather than through the automatic
conversion mechanisms supplied by unicode() and .encode().
Written by Marc-Andre Lemburg (mal@lemburg.com).
(c) Copyright CNRI, All Rights Reserved. NO WARRANTY.
� Nc @ s e Zd ZejZejZdS )�CodecN)�__name__�
__module__�__qualname__�codecs�charmap_encode�encode�charmap_decode�decode� r r �8/opt/alt/python310/lib64/python3.10/encodings/charmap.pyr s
r c @ � e Zd Zddd�Zd dd�ZdS )
�IncrementalEncoder�strictNc C � t j�| |� || _d S �N)r r �__init__�mapping��self�errorsr r r r r �
zIncrementalEncoder.__init__Fc C � t �|| j| j�d S �Nr )r r r r �r �input�finalr r r r � zIncrementalEncoder.encode�r N�F�r r r r r r r r r r �
r c @ r
)
�IncrementalDecoderr Nc C r r )r r"