# coding: utf-8 # AUTO-GENERATED FILE -- DO NOT EDIT class BZ2Compressor(object): """ BZ2Compressor(compresslevel=9) Create a compressor object for compressing data incrementally. compresslevel, if given, must be a number between 1 and 9. For one-shot compression, use the compress() function instead. """ def __init__(self): pass def compress(self, data): """ compress(data) -> bytes Provide data to the compressor object. Returns a chunk of compressed data if possible, or b'' otherwise. When you have finished providing data to the compressor, call the flush() method to finish the compression process. """ return None def flush(self): """ flush() -> bytes Finish the compression process. Returns the compressed data left in internal buffers. The compressor object may not be used after this method is called. """ return None class BZ2Decompressor(object): """ BZ2Decompressor() Create a decompressor object for decompressing data incrementally. For one-shot decompression, use the decompress() function instead. """ def __init__(self): pass def decompress(self, data): """ decompress(data) -> bytes Provide data to the decompressor object. Returns a chunk of decompressed data if possible, or b'' otherwise. Attempting to decompress data after the end of stream is reached raises an EOFError. Any data found after the end of the stream is ignored and saved in the unused_data attribute. """ return None eof = None unused_data = None __doc__ = None __file__ = '/Users/Shared/src/ide/build-files/build-temp/runtimes-release/__os__/osx/runtime-python3.3/lib/Python.framework/Versions/3.3/lib/python3.3/lib-dynload/_bz2.so' __loader__ = None __name__ = '_bz2' __package__ = ''