Your IP : 52.15.209.178


Current Path : /opt/alt/python312/lib64/python3.12/encodings/__pycache__/
Upload File :
Current File : //opt/alt/python312/lib64/python3.12/encodings/__pycache__/charmap.cpython-312.pyc

�

�Q�f$����dZddlZGd�dej�ZGd�dej�ZGd�dej�ZGd	�d
eej
�ZGd�deej�Zd
�Zy)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�<�eZdZejZejZy)�CodecN)�__name__�
__module__�__qualname__�codecs�charmap_encode�encode�charmap_decode�decode���8/opt/alt/python312/lib64/python3.12/encodings/charmap.pyrrs���
"�
"�F�
�
"�
"�Frrc��eZdZdd�Zdd�Zy)�IncrementalEncoderNc�R�tjj||�||_y�N)rr�__init__�mapping��self�errorsrs   rrzIncrementalEncoder.__init__����!�!�*�*�4��8���rc�^�tj||j|j�dS�Nr)rr	rr�r�input�finals   rr
zIncrementalEncoder.encode�$���$�$�U�D�K�K����F�q�I�Ir��strictN�F�rrrrr
r
rrrr�
���Jrrc��eZdZdd�Zdd�Zy)�IncrementalDecoderNc�R�tjj||�||_yr)rr&rrrs   rrzIncrementalDecoder.__init__!rrc�^�tj||j|j�dSr)rrrrrs   rrzIncrementalDecoder.decode%rrr r"�rrrrrr
rrr&r& r$rr&c��eZdZdd�Zdd�Zy)�StreamWriterNc�T�tjj|||�||_yr)rr+rr�r�streamrrs    rrzStreamWriter.__init__*�!�����$�$�T�&��8���rc�D�tj|||j�Sr)rr
r�rrrs   rr
zStreamWriter.encode.����|�|�E�&����6�6rr �r!r#r
rrr+r+(����7rr+c��eZdZdd�Zdd�Zy)�StreamReaderNc�T�tjj|||�||_yr)rr6rrr-s    rrzStreamReader.__init__3r/rc�D�tj|||j�Sr)rrrr1s   rrzStreamReader.decode7r2rr r3r)r
rrr6r61r4rr6c	��tjdtjtjt
ttt��S)N�charmap)�namer
r�incrementalencoder�incrementaldecoder�streamwriter�streamreader)	r�	CodecInforr
rrr&r+r6r
rr�getregentryrA<s2�����
��|�|��|�|�-�-�!�!��r)�__doc__rrrr&r+r6rAr
rr�<module>rCst��
��#�F�L�L�#�J��2�2�J�J��2�2�J�7�5��,�,�7�7�5��,�,�7�	r

?>