diff options
Diffstat (limited to 'Modules/cmathmodule.c')
-rw-r--r-- | Modules/cmathmodule.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/cmathmodule.c b/Modules/cmathmodule.c index 36bf4a1e3d..91b369a2f5 100644 --- a/Modules/cmathmodule.c +++ b/Modules/cmathmodule.c @@ -1060,7 +1060,7 @@ static PyObject * cmath_isinf(PyObject *self, PyObject *args) { Py_complex z; - if (!PyArg_ParseTuple(args, "D:isnan", &z)) + if (!PyArg_ParseTuple(args, "D:isinf", &z)) return NULL; return PyBool_FromLong(Py_IS_INFINITY(z.real) || Py_IS_INFINITY(z.imag)); |