summaryrefslogtreecommitdiffstats
path: root/Modules/zlibmodule.c
diff options
context:
space:
mode:
authorLarry Hastings <larry@hastings.org>2014-01-18 01:47:17 (GMT)
committerLarry Hastings <larry@hastings.org>2014-01-18 01:47:17 (GMT)
commitbebf73511a1250fc768bcb7192b5b3c3fd04d8f2 (patch)
tree1566a4813db5454e821d702e7a42fbd3221f8c79 /Modules/zlibmodule.c
parent601d3668444f7bbe73a3aecc7109c6f471dc3c16 (diff)
downloadcpython-bebf73511a1250fc768bcb7192b5b3c3fd04d8f2.zip
cpython-bebf73511a1250fc768bcb7192b5b3c3fd04d8f2.tar.gz
cpython-bebf73511a1250fc768bcb7192b5b3c3fd04d8f2.tar.bz2
Issue #20287: Argument Clinic's output is now configurable, allowing
delaying its output or even redirecting it to a separate file.
Diffstat (limited to 'Modules/zlibmodule.c')
-rw-r--r--Modules/zlibmodule.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/Modules/zlibmodule.c b/Modules/zlibmodule.c
index 59fc620..efa95e9 100644
--- a/Modules/zlibmodule.c
+++ b/Modules/zlibmodule.c
@@ -1047,16 +1047,12 @@ zlib_Compress_copy_impl(compobject *self);
static PyObject *
zlib_Compress_copy(PyObject *self, PyObject *Py_UNUSED(ignored))
{
- PyObject *return_value = NULL;
-
- return_value = zlib_Compress_copy_impl((compobject *)self);
-
- return return_value;
+ return zlib_Compress_copy_impl((compobject *)self);
}
static PyObject *
zlib_Compress_copy_impl(compobject *self)
-/*[clinic end generated code: checksum=2f454ee15be3bc53cfb4e845c3f891f68be4c8e4]*/
+/*[clinic end generated code: checksum=d57a7911deb7940e85a8d7e65af20b6e2df69000]*/
{
compobject *retval = NULL;
int err;