ok

Mini Shell

Direktori : /opt/alt/python27/lib64/python2.7/encodings/
Upload File :
Current File : //opt/alt/python27/lib64/python2.7/encodings/zlib_codec.pyo

�
�[
bc@s�dZddlZddlZdd�Zdd�Zdejfd��YZdejfd	��YZd
ejfd��YZdeejfd
��YZdeej	fd��YZ	d�Z
dS(s� Python 'zlib_codec' Codec - zlib compression encoding

    Unlike most of the other codecs which target Unicode, this codec
    will return Python string objects for both encode and decode.

    Written by Marc-Andre Lemburg (mal@lemburg.com).

i����NtstrictcCstj|�}|t|�fS(s Encodes the object input and returns a tuple (output
        object, length consumed).

        errors defines the error handling to apply. It defaults to
        'strict' handling which is the only currently supported
        error handling for this codec.

    (tzlibtcompresstlen(tinputterrorstoutput((s9/opt/alt/python27/lib64/python2.7/encodings/zlib_codec.pytzlib_encodescCstj|�}|t|�fS(s� Decodes the object input and returns a tuple (output
        object, length consumed).

        input must be an object which provides the bf_getreadbuf
        buffer slot. Python strings, buffer objects and memory
        mapped files are examples of objects providing this slot.

        errors defines the error handling to apply. It defaults to
        'strict' handling which is the only currently supported
        error handling for this codec.

    (Rt
decompressR(RRR((s9/opt/alt/python27/lib64/python2.7/encodings/zlib_codec.pytzlib_decodestCodeccBs eZdd�Zdd�ZRS(RcCs
t||�S(N(R(tselfRR((s9/opt/alt/python27/lib64/python2.7/encodings/zlib_codec.pytencode0scCs
t||�S(N(R	(RRR((s9/opt/alt/python27/lib64/python2.7/encodings/zlib_codec.pytdecode2s(t__name__t
__module__RR
(((s9/opt/alt/python27/lib64/python2.7/encodings/zlib_codec.pyR
.stIncrementalEncodercBs)eZdd�Zed�Zd�ZRS(RcCs||_tj�|_dS(N(RRtcompressobj(RR((s9/opt/alt/python27/lib64/python2.7/encodings/zlib_codec.pyt__init__6s	cCs=|r)|jj|�}||jj�S|jj|�SdS(N(RRtflush(RRtfinaltc((s9/opt/alt/python27/lib64/python2.7/encodings/zlib_codec.pyR;scCstj�|_dS(N(RR(R((s9/opt/alt/python27/lib64/python2.7/encodings/zlib_codec.pytresetBs(RRRtFalseRR(((s9/opt/alt/python27/lib64/python2.7/encodings/zlib_codec.pyR5stIncrementalDecodercBs)eZdd�Zed�Zd�ZRS(RcCs||_tj�|_dS(N(RRt
decompressobj(RR((s9/opt/alt/python27/lib64/python2.7/encodings/zlib_codec.pyRFs	cCs=|r)|jj|�}||jj�S|jj|�SdS(N(RRR(RRRR((s9/opt/alt/python27/lib64/python2.7/encodings/zlib_codec.pyR
KscCstj�|_dS(N(RR(R((s9/opt/alt/python27/lib64/python2.7/encodings/zlib_codec.pyRRs(RRRRR
R(((s9/opt/alt/python27/lib64/python2.7/encodings/zlib_codec.pyREstStreamWritercBseZRS((RR(((s9/opt/alt/python27/lib64/python2.7/encodings/zlib_codec.pyRUstStreamReadercBseZRS((RR(((s9/opt/alt/python27/lib64/python2.7/encodings/zlib_codec.pyRXscCs:tjdddtdtdtdtdtdtd	t�S(
NtnameRRR
tincrementalencodertincrementaldecodertstreamreadertstreamwritert_is_text_encoding(	tcodecst	CodecInfoRR	RRRRR(((s9/opt/alt/python27/lib64/python2.7/encodings/zlib_codec.pytgetregentry]s	(t__doc__R"RRR	R
RRRRR$(((s9/opt/alt/python27/lib64/python2.7/encodings/zlib_codec.pyt<module>s

Zerion Mini Shell 1.0