Your IP : 18.117.231.160


Current Path : /lib64/python3.8/encodings/__pycache__/
Upload File :
Current File : //lib64/python3.8/encodings/__pycache__/quopri_codec.cpython-38.pyc

U

e5d��@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:|dkst�t|�}t�}tj||dd�|��t|�fS)NrT)Z	quotetabs)�AssertionErrorr�quopri�encode�getvalue�len��input�errors�f�g�r�./usr/lib64/python3.8/encodings/quopri_codec.py�
quopri_encode
s
rcCs6|dkst�t|�}t�}t�||�|��t|�fS)Nr)rrr�decoderrr	rrr�
quopri_decodes
rc@s eZdZddd�Zddd�ZdS)	�CodecrcCs
t||�S�N)r��selfr
rrrrrszCodec.encodecCs
t||�Sr)rrrrrrszCodec.decodeN)r)r)�__name__�
__module__�__qualname__rrrrrrrs
rc@seZdZddd�ZdS)�IncrementalEncoderFcCst||j�dS�Nr)rr�rr
�finalrrrrszIncrementalEncoder.encodeN)F)rrrrrrrrrsrc@seZdZddd�ZdS)�IncrementalDecoderFcCst||j�dSr)rrrrrrr#szIncrementalDecoder.decodeN)F)rrrrrrrrr"src@seZdZeZdS)�StreamWriterN�rrr�bytes�charbuffertyperrrrr&src@seZdZeZdS)�StreamReaderNr rrrrr#)sr#c
Cstjdttttttdd�S)NrF)�namerr�incrementalencoder�incrementaldecoder�streamwriter�streamreader�_is_text_encoding)�codecs�	CodecInforrrrrr#rrrr�getregentry.s�r,)r)r)
�__doc__r*r�iorrrrrrrr#r,rrrr�<module>s



?>