AlkantarClanX12

Your IP : 18.117.75.218


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.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�strictcCsS|dkst�t|�}t�}tj||dd�|j�t|�fS)NrZ	quotetabsT)�AssertionErrorr�quopri�encode�getvalue�len)�input�errors�f�g�r
�;/opt/alt/python35/lib64/python3.5/encodings/quopri_codec.py�
quopri_encode
s
	rcCsM|dkst�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)�__name__�
__module__�__qualname__rrr
r
r
rrsrc@seZdZddd�ZdS)�IncrementalEncoderFcCst||j�dS)Nr)rr
)rr	�finalr
r
rrszIncrementalEncoder.encodeN)rrrrr
r
r
rrsrc@seZdZddd�ZdS)�IncrementalDecoderFcCst||j�dS)Nr)rr
)rr	rr
r
rr#szIncrementalDecoder.decodeN)rrrrr
r
r
rr"src@seZdZeZdS)�StreamWriterN)rrr�bytes�charbuffertyper
r
r
rr&src@seZdZeZdS)�StreamReaderN)rrrrrr
r
r
rr)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