summaryrefslogtreecommitdiffstats
path: root/Python/codecs.c
diff options
context:
space:
mode:
Diffstat (limited to 'Python/codecs.c')
-rw-r--r--Python/codecs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/codecs.c b/Python/codecs.c
index fa329ce..9ee566b 100644
--- a/Python/codecs.c
+++ b/Python/codecs.c
@@ -280,7 +280,7 @@ PyObject *codec_makeincrementalcodec(PyObject *codec_info,
if (errors)
ret = PyObject_CallFunction(inccodec, "s", errors);
else
- ret = _PyObject_CallNoArg(inccodec);
+ ret = _PyObject_CallNoArgs(inccodec);
Py_DECREF(inccodec);
return ret;
}