diff --git a/Objects/call.c b/Objects/call.c index b53a98c76b0..e6076e7005e 100644 --- a/Objects/call.c +++ b/Objects/call.c @@ -699,7 +699,7 @@ _PyMethodDef_RawFastCallKeywords(PyMethodDef *method, PyObject *self, default: PyErr_SetString(PyExc_SystemError, - "Bad call flags in _PyCFunction_FastCallKeywords. " + "Bad call flags in _PyMethodDef_RawFastCallKeywords. " "METH_OLDARGS is no longer supported!"); goto exit; }