summaryrefslogtreecommitdiffstats
path: root/Modules/_collectionsmodule.c
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2018-11-27 11:05:02 (GMT)
committerGitHub <noreply@github.com>2018-11-27 11:05:02 (GMT)
commit81524022d0c0df7a41f9b2b2df41e2ebe140e610 (patch)
tree1b8156249d1349c984770e31048f4f424e357965 /Modules/_collectionsmodule.c
parent4a934d490fac779d8954a8292369c4506bab23fa (diff)
downloadcpython-81524022d0c0df7a41f9b2b2df41e2ebe140e610.zip
cpython-81524022d0c0df7a41f9b2b2df41e2ebe140e610.tar.gz
cpython-81524022d0c0df7a41f9b2b2df41e2ebe140e610.tar.bz2
bpo-33012: Fix signatures of METH_NOARGS funstions. (GH-10736)
Diffstat (limited to 'Modules/_collectionsmodule.c')
-rw-r--r--Modules/_collectionsmodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_collectionsmodule.c b/Modules/_collectionsmodule.c
index 267cf07..a495e5f 100644
--- a/Modules/_collectionsmodule.c
+++ b/Modules/_collectionsmodule.c
@@ -1310,7 +1310,7 @@ deque_traverse(dequeobject *deque, visitproc visit, void *arg)
}
static PyObject *
-deque_reduce(dequeobject *deque)
+deque_reduce(dequeobject *deque, PyObject *Py_UNUSED(ignored))
{
PyObject *dict, *it;
_Py_IDENTIFIER(__dict__);