Viewing File: /opt/alt/python38/lib64/python3.8/encodings/__pycache__/quopri_codec.cpython-38.opt-1.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.t|}t}tj||dd|t|fS)NT)Z	quotetabs)rquopriencodegetvalueleninputerrorsfgr
;/opt/alt/python38/lib64/python3.8/encodings/quopri_codec.py
quopri_encode
srcCs*t|}t}t|||t|fSN)rrdecoderrrr
r
r
quopri_decodesrc@s eZdZdddZdddZdS)	CodecrcCs
t||Sr)rselfr	r
r
r
rrszCodec.encodecCs
t||Sr)rrr
r
rrszCodec.decodeN)r)r)__name__
__module____qualname__rrr
r
r
rrs
rc@seZdZdddZdS)IncrementalEncoderFcCst||jdSNr)rr
rr	finalr
r
rrszIncrementalEncoder.encodeN)F)rrrrr
r
r
rrsrc@seZdZdddZdS)IncrementalDecoderFcCst||jdSr)rr
rr
r
rr#szIncrementalDecoder.decodeN)F)rrrrr
r
r
rr"src@seZdZeZdS)StreamWriterNrrrbytescharbuffertyper
r
r
rr&src@seZdZeZdS)StreamReaderNrr
r
r
rr")sr"c
CstjdttttttddS)NrF)namerrincrementalencoderincrementaldecoderstreamwriterstreamreader_is_text_encoding)codecs	CodecInforrrrrr"r
r
r
rgetregentry.sr+)r)r)
__doc__r)riorrrrrrrr"r+r
r
r
r<module>s


Back to Directory File Manager