Viewing File: /opt/alt/python38/lib64/python3.8/encodings/__pycache__/quopri_codec.cpython-38.pyc

U

,a@sdZddlZddlZddlmZdddZdddZGd	d
d
ejZGdddejZGd
ddej	Z	Gdddeej
Z
GdddeejZddZdS)zQCodec for quoted-printable encoding.

This codec de/encodes from bytes to bytes.
N)BytesIOstrictcCs:|dkstt|}t}tj||dd|t|fS)NrT)Z	quotetabs)AssertionErrorrquopriencodegetvalueleninputerrorsfgr;/opt/alt/python38/lib64/python3.8/encodings/quopri_codec.py
quopri_encode
s
rcCs6|dkstt|}t}t|||t|fS)Nr)rrrdecoderrr	rrr
quopri_decodes
rc@s eZdZdddZdddZdS)	CodecrcCs
t||SN)rselfr
rrrrrszCodec.encodecCs
t||Sr)rrrrrrszCodec.decodeN)r)r)__name__
__module____qualname__rrrrrrrs
rc@seZdZdddZdS)IncrementalEncoderFcCst||jdSNr)rrrr
finalrrrrszIncrementalEncoder.encodeN)F)rrrrrrrrrsrc@seZdZdddZdS)IncrementalDecoderFcCst||jdSr)rrrrrrr#szIncrementalDecoder.decodeN)F)rrrrrrrrr"src@seZdZeZdS)StreamWriterNrrrbytescharbuffertyperrrrr&src@seZdZeZdS)StreamReaderNr rrrrr#)sr#c
CstjdttttttddS)NrF)namerrincrementalencoderincrementaldecoderstreamwriterstreamreader_is_text_encoding)codecs	CodecInforrrrrr#rrrrgetregentry.sr,)r)r)
__doc__r*riorrrrrrrr#r,rrrr<module>s


Back to Directory File Manager