ok

Mini Shell

Direktori : /proc/self/root/opt/alt/python33/lib64/python3.3/encodings/__pycache__/
Upload File :
Current File : //proc/self/root/opt/alt/python33/lib64/python3.3/encodings/__pycache__/bz2_codec.cpython-33.pyc

�
oyMa�c@s�dZddlZddlZddd�Zddd�ZGdd	�d	ej�ZGd
d�dej�ZGdd
�d
ej�ZGdd�deej�ZGdd�deej	�Z	dd�Z
dS(uPython 'bz2_codec' Codec - bz2 compression encoding.

This codec de/encodes from bytes to bytes and is therefore usable with
bytes.transform() and bytes.untransform().

Adapted by Raymond Hettinger from zlib_codec.py which was written
by Marc-Andre Lemburg (mal@lemburg.com).
iNustrictcCs+|dkst�tj|�t|�fS(Nustrict(uAssertionErrorubz2ucompressulen(uinputuerrors((u8/opt/alt/python33/lib64/python3.3/encodings/bz2_codec.pyu
bz2_encodesu
bz2_encodecCs+|dkst�tj|�t|�fS(Nustrict(uAssertionErrorubz2u
decompressulen(uinputuerrors((u8/opt/alt/python33/lib64/python3.3/encodings/bz2_codec.pyu
bz2_decodesu
bz2_decodecBs2|EeZdZddd�Zddd�ZdS(uCodecustrictcCs
t||�S(N(u
bz2_encode(uselfuinputuerrors((u8/opt/alt/python33/lib64/python3.3/encodings/bz2_codec.pyuencodesuCodec.encodecCs
t||�S(N(u
bz2_decode(uselfuinputuerrors((u8/opt/alt/python33/lib64/python3.3/encodings/bz2_codec.pyudecodesuCodec.decodeN(u__name__u
__module__u__qualname__uencodeudecode(u
__locals__((u8/opt/alt/python33/lib64/python3.3/encodings/bz2_codec.pyuCodecsuCodeccBs>|EeZdZddd�Zd	dd�Zdd�ZdS(
uIncrementalEncoderustrictcCs.|dkst�||_tj�|_dS(Nustrict(uAssertionErroruerrorsubz2u
BZ2Compressorucompressobj(uselfuerrors((u8/opt/alt/python33/lib64/python3.3/encodings/bz2_codec.pyu__init__s	uIncrementalEncoder.__init__cCs=|r)|jj|�}||jj�S|jj|�SdS(N(ucompressobjucompressuflush(uselfuinputufinaluc((u8/opt/alt/python33/lib64/python3.3/encodings/bz2_codec.pyuencode#suIncrementalEncoder.encodecCstj�|_dS(N(ubz2u
BZ2Compressorucompressobj(uself((u8/opt/alt/python33/lib64/python3.3/encodings/bz2_codec.pyureset*suIncrementalEncoder.resetNF(u__name__u
__module__u__qualname__u__init__uFalseuencodeureset(u
__locals__((u8/opt/alt/python33/lib64/python3.3/encodings/bz2_codec.pyuIncrementalEncodersuIncrementalEncodercBs>|EeZdZddd�Zd	dd�Zdd�ZdS(
uIncrementalDecoderustrictcCs.|dkst�||_tj�|_dS(Nustrict(uAssertionErroruerrorsubz2uBZ2Decompressoru
decompressobj(uselfuerrors((u8/opt/alt/python33/lib64/python3.3/encodings/bz2_codec.pyu__init__.s	uIncrementalDecoder.__init__cCs1y|jj|�SWntk
r,dSYnXdS(Nu(u
decompressobju
decompressuEOFError(uselfuinputufinal((u8/opt/alt/python33/lib64/python3.3/encodings/bz2_codec.pyudecode3s
uIncrementalDecoder.decodecCstj�|_dS(N(ubz2uBZ2Decompressoru
decompressobj(uself((u8/opt/alt/python33/lib64/python3.3/encodings/bz2_codec.pyureset9suIncrementalDecoder.resetNF(u__name__u
__module__u__qualname__u__init__uFalseudecodeureset(u
__locals__((u8/opt/alt/python33/lib64/python3.3/encodings/bz2_codec.pyuIncrementalDecoder-suIncrementalDecodercBs|EeZdZeZdS(uStreamWriterN(u__name__u
__module__u__qualname__ubytesucharbuffertype(u
__locals__((u8/opt/alt/python33/lib64/python3.3/encodings/bz2_codec.pyuStreamWriter<suStreamWritercBs|EeZdZeZdS(uStreamReaderN(u__name__u
__module__u__qualname__ubytesucharbuffertype(u
__locals__((u8/opt/alt/python33/lib64/python3.3/encodings/bz2_codec.pyuStreamReader?suStreamReadercCs:tjdddtdtdtdtdtdtd	d
�S(Nunameubz2uencodeudecodeuincrementalencoderuincrementaldecoderustreamwriterustreamreaderu_is_text_encodingF(	ucodecsu	CodecInfou
bz2_encodeu
bz2_decodeuIncrementalEncoderuIncrementalDecoderuStreamWriteruStreamReaderuFalse(((u8/opt/alt/python33/lib64/python3.3/encodings/bz2_codec.pyugetregentryDs	ugetregentry(u__doc__ucodecsubz2u
bz2_encodeu
bz2_decodeuCodecuIncrementalEncoderuIncrementalDecoderuStreamWriteruStreamReaderugetregentry(((u8/opt/alt/python33/lib64/python3.3/encodings/bz2_codec.pyu<module>s

Zerion Mini Shell 1.0