summaryrefslogtreecommitdiffstats
path: root/Modules/_bz2module.c
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/_bz2module.c')
-rw-r--r--Modules/_bz2module.c11
1 files changed, 2 insertions, 9 deletions
diff --git a/Modules/_bz2module.c b/Modules/_bz2module.c
index cdaa837..30e0340 100644
--- a/Modules/_bz2module.c
+++ b/Modules/_bz2module.c
@@ -199,8 +199,8 @@ error:
/*[clinic input]
output preset file
module _bz2
-class _bz2.BZ2Compressor
-class _bz2.BZ2Decompressor
+class _bz2.BZ2Compressor "BZ2Compressor *" "&BZ2Compressor_Type"
+class _bz2.BZ2Decompressor "BZ2Decompressor *" "&BZ2Decompressor_Type"
[clinic start generated code]*/
/*[clinic end generated code: checksum=da39a3ee5e6b4b0d3255bfef95601890afd80709]*/
@@ -209,7 +209,6 @@ class _bz2.BZ2Decompressor
/*[clinic input]
_bz2.BZ2Compressor.compress
- self: self(type="BZ2Compressor *")
data: Py_buffer
/
@@ -239,8 +238,6 @@ _bz2_BZ2Compressor_compress_impl(BZ2Compressor *self, Py_buffer *data)
/*[clinic input]
_bz2.BZ2Compressor.flush
- self: self(type="BZ2Compressor *")
-
Finish the compression process.
Returns the compressed data left in internal buffers.
@@ -294,7 +291,6 @@ BZ2_Free(void* ctx, void *ptr)
/*[clinic input]
_bz2.BZ2Compressor.__init__
- self: self(type="BZ2Compressor *")
compresslevel: int = 9
Compression level, as a number between 1 and 9.
/
@@ -472,7 +468,6 @@ error:
/*[clinic input]
_bz2.BZ2Decompressor.decompress
- self: self(type="BZ2Decompressor *")
data: Py_buffer
/
@@ -511,8 +506,6 @@ BZ2Decompressor_getstate(BZ2Decompressor *self, PyObject *noargs)
/*[clinic input]
_bz2.BZ2Decompressor.__init__
- self: self(type="BZ2Decompressor *")
-
Create a decompressor object for decompressing data incrementally.
For one-shot decompression, use the decompress() function instead.