Your IP : 13.58.77.244


Current Path : /opt/alt/python310/lib64/python3.10/encodings/__pycache__/
Upload File :
Current File : //opt/alt/python310/lib64/python3.10/encodings/__pycache__/quopri_codec.cpython-310.pyc

o

6��f��@s�dZddlZddlZddlmZddd�Zddd�ZGd	d
�d
ej�ZGdd�dej�ZGd
d�dej	�Z	Gdd�deej
�Z
Gdd�deej�Zdd�ZdS)zQCodec for quoted-printable encoding.

This codec de/encodes from bytes to bytes.
�N)�BytesIO�strictcCs:|dksJ�t|�}t�}tj||dd�|��t|�fS)NrT)Z	quotetabs)r�quopri�encode�getvalue�len��input�errors�f�g�r
�=/opt/alt/python310/lib64/python3.10/encodings/quopri_codec.py�
quopri_encode
s
rcCs6|dksJ�t|�}t�}t�||�|��t|�fS)Nr)rr�decoderrrr
r
r�
quopri_decodes
rc@s eZdZddd�Zddd�ZdS)�CodecrcC�
t||�S�N)r��selfr	r
r
r
rr�
zCodec.encodecCrr)rrr
r
rrrzCodec.decodeN�r)�__name__�
__module__�__qualname__rrr
r
r
rrs
rc@�eZdZddd�ZdS)�IncrementalEncoderFcC�t||j�dS�Nr)rr
�rr	�finalr
r
rr�zIncrementalEncoder.encodeN�F)rrrrr
r
r
rr�rc@r)�IncrementalDecoderFcCrr)rr
r r
r
rr#r"zIncrementalDecoder.decodeNr#)rrrrr
r
r
rr%"r$r%c@�eZdZeZdS)�StreamWriterN�rrr�bytes�charbuffertyper
r
r
rr'&�r'c@r&)�StreamReaderNr(r
r
r
rr,)r+r,c
Cstjdttttttdd�S)NrF)�namerr�incrementalencoder�incrementaldecoder�streamwriter�streamreader�_is_text_encoding)�codecs�	CodecInforrrr%r'r,r
r
r
r�getregentry.s�r5r)
�__doc__r3r�iorrrrrr%r'r,r5r
r
r
r�<module>s



?>