summaryrefslogtreecommitdiffstats
path: root/Objects/genobject.c
diff options
context:
space:
mode:
Diffstat (limited to 'Objects/genobject.c')
-rw-r--r--Objects/genobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/genobject.c b/Objects/genobject.c
index 8bd6c8d..8fa04e8 100644
--- a/Objects/genobject.c
+++ b/Objects/genobject.c
@@ -319,7 +319,7 @@ gen_close_iter(PyObject *yf)
PyErr_WriteUnraisable(yf);
}
if (meth) {
- retval = _PyObject_CallNoArg(meth);
+ retval = _PyObject_CallNoArgs(meth);
Py_DECREF(meth);
if (retval == NULL)
return -1;