Your IP : 3.145.81.47


Current Path : /opt/alt/python35/lib64/python3.5/encodings/__pycache__/
Upload File :
Current File : //opt/alt/python35/lib64/python3.5/encodings/__pycache__/quopri_codec.cpython-35.opt-1.pyc



��Yf��@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�strictcCsAt|�}t�}tj||dd�|j�t|�fS)NZ	quotetabsT)r�quopri�encode�getvalue�len)�input�errors�f�g�r�;/opt/alt/python35/lib64/python3.5/encodings/quopri_codec.py�
quopri_encode
s	rcCs;t|�}t�}tj||�|j�t|�fS)N)rr�decoderr)rr	r
rrrr
�
quopri_decodes	rc@s.eZdZddd�Zddd�ZdS)�CodecrcCs
t||�S)N)r)�selfrr	rrr
rszCodec.encodecCs
t||�S)N)r)rrr	rrr
rszCodec.decodeN)�__name__�
__module__�__qualname__rrrrrr
rsrc@seZdZddd�ZdS)�IncrementalEncoderFcCst||j�dS)Nr)rr	)rr�finalrrr
rszIncrementalEncoder.encodeN)rrrrrrrr
rsrc@seZdZddd�ZdS)�IncrementalDecoderFcCst||j�dS)Nr)rr	)rrrrrr
r#szIncrementalDecoder.decodeN)rrrrrrrr
r"src@seZdZeZdS)�StreamWriterN)rrr�bytes�charbuffertyperrrr
r&src@seZdZeZdS)�StreamReaderN)rrrrrrrrr
r)srcCs:tjdddtdtdtdtdtdtd	d
�S)N�namerrr�incrementalencoder�incrementaldecoder�streamwriter�streamreader�_is_text_encodingF)�codecs�	CodecInforrrrrrrrrr
�getregentry.s	r%)
�__doc__r#r�iorrrrrrrrr%rrrr
�<module>s

?>