summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeroen Demeyer <J.Demeyer@UGent.be>2019-05-17 10:21:35 (GMT)
committerStéphane Wirtel <stephane@wirtel.be>2019-05-17 10:21:35 (GMT)
commita8b46944d72bba6dc76260ed61da5c78d3f9d9c0 (patch)
treeeca2985ae5fe9bf6e85e3556f20a7224dd8c9157
parent6faad355db6c2bd4a0ade7868f245b42c04f5337 (diff)
downloadcpython-a8b46944d72bba6dc76260ed61da5c78d3f9d9c0.zip
cpython-a8b46944d72bba6dc76260ed61da5c78d3f9d9c0.tar.gz
cpython-a8b46944d72bba6dc76260ed61da5c78d3f9d9c0.tar.bz2
Fix typo in _PyMethodDef_RawFastCallKeywords error message (GH-13343)
-rw-r--r--Objects/call.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/call.c b/Objects/call.c
index 68f9e87..337ca81 100644
--- a/Objects/call.c
+++ b/Objects/call.c
@@ -701,7 +701,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;
}