]> granicus.if.org Git - python/commitdiff
Issue 26243: Forgot to update zlib doc strings in Argument Clinic
authorMartin Panter <vadmium+py@gmail.com>
Wed, 10 Feb 2016 10:45:54 +0000 (10:45 +0000)
committerMartin Panter <vadmium+py@gmail.com>
Wed, 10 Feb 2016 10:45:54 +0000 (10:45 +0000)
Modules/clinic/zlibmodule.c.h
Modules/zlibmodule.c

index d92f88b2315ecc5c8e2b6f0cc92095a422e6b6b4..222cb6779a1c0a70c0e5ac21c5d6b8979805ed36 100644 (file)
@@ -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]*/
index 8ddc7740973176eb8139c993e711907585fb06dc..db3d8c9e1ea9ab6259f9eee3103066c5c6a8a5dd 100644 (file)
@@ -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;