Your IP : 18.117.101.7


Current Path : /opt/alt/python36/lib64/python3.6/encodings/__pycache__/
Upload File :
Current File : //opt/alt/python36/lib64/python3.6/encodings/__pycache__/quopri_codec.cpython-36.pyc

3

� 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:|dkst�t|�}t�}tj||dd�|j�t|�fS)NrT)Z	quotetabs)�AssertionErrorr�quopri�encode�getvalue�len)�input�errors�f�g�r
�;/opt/alt/python36/lib64/python3.6/encodings/quopri_codec.py�
quopri_encode
s
rcCs6|dkst�t|�}t�}tj||�|j�t|�fS)Nr)rrr�decoderr)r	r
rrr
r
r�
quopri_decodes
rc@s eZdZddd�Zddd�ZdS)	�CodecrcCs
t||�S)N)r)�selfr	r
r
r
rrszCodec.encodecCs
t||�S)N)r)rr	r
r
r
rrszCodec.decodeN)r)r)�__name__�
__module__�__qualname__rrr
r
r
rrs
rc@seZdZddd�ZdS)�IncrementalEncoderFcCst||j�dS)Nr)rr
)rr	�finalr
r
rrszIncrementalEncoder.encodeN)F)rrrrr
r
r
rrsrc@seZdZddd�ZdS)�IncrementalDecoderFcCst||j�dS)Nr)rr
)rr	rr
r
rr#szIncrementalDecoder.decodeN)F)rrrrr
r
r
rr"src@seZdZeZdS)�StreamWriterN)rrr�bytes�charbuffertyper
r
r
rr&src@seZdZeZdS)�StreamReaderN)rrrrrr
r
r
rr)src
Cstjdttttttdd�S)NrF)�namerr�incrementalencoder�incrementaldecoder�streamwriter�streamreader�_is_text_encoding)�codecs�	CodecInforrrrrrr
r
r
r�getregentry.sr&)r)r)
�__doc__r$r�iorrrrrrrrr&r
r
r
r�<module>s



?>