summaryrefslogtreecommitdiff
path: root/Modules/mathmodule.c
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/mathmodule.c')
-rw-r--r--Modules/mathmodule.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/Modules/mathmodule.c b/Modules/mathmodule.c
index 5e9f63f6c6..62aceced43 100644
--- a/Modules/mathmodule.c
+++ b/Modules/mathmodule.c
@@ -1206,7 +1206,7 @@ math_ceil(PyObject *module, PyObject *number)
if (!PyFloat_CheckExact(number)) {
PyObject *method = _PyObject_LookupSpecial(number, &PyId___ceil__);
if (method != NULL) {
- PyObject *result = _PyObject_CallNoArg(method);
+ PyObject *result = _PyObject_CallNoArgs(method);
Py_DECREF(method);
return result;
}
@@ -1275,7 +1275,7 @@ math_floor(PyObject *module, PyObject *number)
{
PyObject *method = _PyObject_LookupSpecial(number, &PyId___floor__);
if (method != NULL) {
- PyObject *result = _PyObject_CallNoArg(method);
+ PyObject *result = _PyObject_CallNoArgs(method);
Py_DECREF(method);
return result;
}
@@ -2130,7 +2130,7 @@ math_trunc(PyObject *module, PyObject *x)
Py_TYPE(x)->tp_name);
return NULL;
}
- result = _PyObject_CallNoArg(trunc);
+ result = _PyObject_CallNoArgs(trunc);
Py_DECREF(trunc);
return result;
}