blob: 282769cb1f7dea17b8aa46402da12238899951c7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
# REVIEWME
from pypy.interpreter.mixedmodule import MixedModule
class Module(MixedModule):
"""The python bz2 module provides a comprehensive interface for
the bz2 compression library. It implements a complete file
interface, one shot (de)compression functions, and types for
sequential (de)compression."""
interpleveldefs = {
'BZ2Compressor': 'interp_bz2.W_BZ2Compressor',
'BZ2Decompressor': 'interp_bz2.W_BZ2Decompressor',
'compress': 'interp_bz2.compress',
'decompress': 'interp_bz2.decompress',
'BZ2File': 'interp_bz2.W_BZ2File',
}
appleveldefs = {
}
|