ACC SHELL

Path : /usr/lib/python/encodings/
File Upload :
Current File : //usr/lib/python/encodings/bz2_codec.pyo

Ñò
qÄMc@sÆdZddkZddkZdd„Zdd„Zdeifd„ƒYZdeifd	„ƒYZd
eifd„ƒYZdeeifd
„ƒYZdeei	fd„ƒYZ	d„Z
dS(s2 Python 'bz2_codec' Codec - bz2 compression encoding

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

    Adapted by Raymond Hettinger from zlib_codec.py which was written
    by Marc-Andre Lemburg (mal@lemburg.com).

iÿÿÿÿNtstrictcCsti|ƒ}|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.

    (tbz2tcompresstlen(tinputterrorstoutput((s)/usr/lib/python2.6/encodings/bz2_codec.pyt
bz2_encodescCsti|ƒ}|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((s)/usr/lib/python2.6/encodings/bz2_codec.pyt
bz2_decodestCodeccBs eZdd„Zdd„ZRS(RcCs
t||ƒS(N(R(tselfRR((s)/usr/lib/python2.6/encodings/bz2_codec.pytencode1scCs
t||ƒS(N(R	(RRR((s)/usr/lib/python2.6/encodings/bz2_codec.pytdecode3s(t__name__t
__module__RR
(((s)/usr/lib/python2.6/encodings/bz2_codec.pyR
/stIncrementalEncodercBs)eZdd„Zed„Zd„ZRS(RcCs||_tiƒ|_dS(N(RRt
BZ2Compressortcompressobj(RR((s)/usr/lib/python2.6/encodings/bz2_codec.pyt__init__7s	cCs?|o$|ii|ƒ}||iiƒS|ii|ƒSdS(N(RRtflush(RRtfinaltc((s)/usr/lib/python2.6/encodings/bz2_codec.pyR<scCstiƒ|_dS(N(RRR(R((s)/usr/lib/python2.6/encodings/bz2_codec.pytresetCs(RRRtFalseRR(((s)/usr/lib/python2.6/encodings/bz2_codec.pyR6stIncrementalDecodercBs)eZdd„Zed„Zd„ZRS(RcCs||_tiƒ|_dS(N(RRtBZ2Decompressort
decompressobj(RR((s)/usr/lib/python2.6/encodings/bz2_codec.pyRGs	cCs/y|ii|ƒSWntj
odSXdS(Nt(RRtEOFError(RRR((s)/usr/lib/python2.6/encodings/bz2_codec.pyR
LscCstiƒ|_dS(N(RRR(R((s)/usr/lib/python2.6/encodings/bz2_codec.pyRRs(RRRRR
R(((s)/usr/lib/python2.6/encodings/bz2_codec.pyRFstStreamWritercBseZRS((RR(((s)/usr/lib/python2.6/encodings/bz2_codec.pyRUstStreamReadercBseZRS((RR(((s)/usr/lib/python2.6/encodings/bz2_codec.pyRXscCs4tidddtdtdtdtdtdtƒS(	NtnameRRR
tincrementalencodertincrementaldecodertstreamwritertstreamreader(tcodecst	CodecInfoRR	RRRR(((s)/usr/lib/python2.6/encodings/bz2_codec.pytgetregentry]s	(t__doc__R%RRR	R
RRRRR'(((s)/usr/lib/python2.6/encodings/bz2_codec.pyt<module>	s

ACC SHELL 2018