summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Panter <vadmium+py@gmail.com>2016-02-10 10:45:54 (GMT)
committerMartin Panter <vadmium+py@gmail.com>2016-02-10 10:45:54 (GMT)
commitb0cb42dfdb422495fb0c3a4374f2fa010f56a5ac (patch)
treee127a8602759ce0673163c73b2d4f2246ca270a6
parent1fe0d13d1246b5d60a4f4fb8c627babd0e94ab87 (diff)
downloadcpython-b0cb42dfdb422495fb0c3a4374f2fa010f56a5ac.zip
cpython-b0cb42dfdb422495fb0c3a4374f2fa010f56a5ac.tar.gz
cpython-b0cb42dfdb422495fb0c3a4374f2fa010f56a5ac.tar.bz2
Issue 26243: Forgot to update zlib doc strings in Argument Clinic
-rw-r--r--Modules/clinic/zlibmodule.c.h4
-rw-r--r--Modules/zlibmodule.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/Modules/clinic/zlibmodule.c.h b/Modules/clinic/zlibmodule.c.h
index d92f88b..222cb67 100644
--- a/Modules/clinic/zlibmodule.c.h
+++ b/Modules/clinic/zlibmodule.c.h
@@ -11,7 +11,7 @@ PyDoc_STRVAR(zlib_compress__doc__,
" data\n"
" Binary data to be compressed.\n"
" level\n"
-" Compression level, in 0-9.");
+" Compression level, in 0-9 or -1.");
#define ZLIB_COMPRESS_METHODDEF \
{"compress", (PyCFunction)zlib_compress, METH_VARARGS|METH_KEYWORDS, zlib_compress__doc__},
@@ -440,4 +440,4 @@ exit:
#ifndef ZLIB_COMPRESS_COPY_METHODDEF
#define ZLIB_COMPRESS_COPY_METHODDEF
#endif /* !defined(ZLIB_COMPRESS_COPY_METHODDEF) */
-/*[clinic end generated code: output=3c96b58b923c1273 input=a9049054013a1b77]*/
+/*[clinic end generated code: output=e6f3b79e051ecc35 input=a9049054013a1b77]*/
diff --git a/Modules/zlibmodule.c b/Modules/zlibmodule.c
index 8ddc774..db3d8c9 100644
--- a/Modules/zlibmodule.c
+++ b/Modules/zlibmodule.c
@@ -147,7 +147,7 @@ Returns a bytes object containing compressed data.
static PyObject *
zlib_compress_impl(PyModuleDef *module, Py_buffer *data, int level)
-/*[clinic end generated code: output=1b97589132b203b4 input=671c615a4b2267da]*/
+/*[clinic end generated code: output=1b97589132b203b4 input=abed30f4fa14e213]*/
{
PyObject *ReturnVal = NULL;
Byte *input, *output = NULL;