diff options
author | Larry Hastings <larry@hastings.org> | 2014-01-26 04:43:29 (GMT) |
---|---|---|
committer | Larry Hastings <larry@hastings.org> | 2014-01-26 04:43:29 (GMT) |
commit | c20472640cff9f2cb513b1443897814d0328bea1 (patch) | |
tree | e6ad163527b806cc65761d0f720c4202086caf40 /Modules/_bz2module.c | |
parent | 9ad116bcd05cf9b98f544916633641933a0db95c (diff) | |
download | cpython-c20472640cff9f2cb513b1443897814d0328bea1.zip cpython-c20472640cff9f2cb513b1443897814d0328bea1.tar.gz cpython-c20472640cff9f2cb513b1443897814d0328bea1.tar.bz2 |
Issue #20390: Small fixes and improvements for Argument Clinic.
Diffstat (limited to 'Modules/_bz2module.c')
-rw-r--r-- | Modules/_bz2module.c | 11 |
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. |