[3.7] Fix typo in _PyMethodDef_RawFastCallKeywords error message (GH-13343) (GH-13385)
(cherry picked from commit a8b46944d72bba6dc76260ed61da5c78d3f9d9c0)
Co-authored-by: Jeroen Demeyer <J.Demeyer@UGent.be>
diff --git a/Objects/call.c b/Objects/call.c
index b53a98c..e6076e7 100644
--- a/Objects/call.c
+++ b/Objects/call.c
@@ -699,7 +699,7 @@
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;
}