changeset: 100208:dc758f51b8f5 user: Martin Panter date: Wed Feb 10 10:45:54 2016 +0000 files: Modules/clinic/zlibmodule.c.h Modules/zlibmodule.c description: Issue 26243: Forgot to update zlib doc strings in Argument Clinic diff -r 592db8704d38 -r dc758f51b8f5 Modules/clinic/zlibmodule.c.h --- a/Modules/clinic/zlibmodule.c.h Wed Feb 10 10:06:36 2016 +0000 +++ b/Modules/clinic/zlibmodule.c.h Wed Feb 10 10:45:54 2016 +0000 @@ -11,7 +11,7 @@ " 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 @@ #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 -r 592db8704d38 -r dc758f51b8f5 Modules/zlibmodule.c --- a/Modules/zlibmodule.c Wed Feb 10 10:06:36 2016 +0000 +++ b/Modules/zlibmodule.c Wed Feb 10 10:45:54 2016 +0000 @@ -147,7 +147,7 @@ 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;