summaryrefslogtreecommitdiff
path: root/Objects
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2018-11-27 20:27:47 +0200
committerGitHub <noreply@github.com>2018-11-27 20:27:47 +0200
commitad8ac54aa3d2323bdb5feb5e858a922840358187 (patch)
tree256dc810f82acbb238eeaa074f2799233b04d44e /Objects
parent5ceb7018dc63fab96f81d05e62bbe704e9f10cb9 (diff)
downloadcpython-git-ad8ac54aa3d2323bdb5feb5e858a922840358187.tar.gz
bpo-33012: Fix signatures of METH_NOARGS functions. (GH-10736) (GH-10748)
(cherry picked from commit 81524022d0c0df7a41f9b2b2df41e2ebe140e610)
Diffstat (limited to 'Objects')
-rw-r--r--Objects/odictobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/odictobject.c b/Objects/odictobject.c
index 676ed99078..7487bd9607 100644
--- a/Objects/odictobject.c
+++ b/Objects/odictobject.c
@@ -1803,7 +1803,7 @@ done:
PyDoc_STRVAR(reduce_doc, "Return state information for pickling");
static PyObject *
-odictiter_reduce(odictiterobject *di)
+odictiter_reduce(odictiterobject *di, PyObject *Py_UNUSED(ignored))
{
/* copy the iterator state */
odictiterobject tmp = *di;