summaryrefslogtreecommitdiff
path: root/Objects
diff options
context:
space:
mode:
authorStéphane Wirtel <stephane@wirtel.be>2019-05-17 13:34:47 +0200
committerGitHub <noreply@github.com>2019-05-17 13:34:47 +0200
commit9050aaf6eef422e16de9707f981697c668d433db (patch)
treeb3fb033cf45c1d3a60ca25ba55a9ca859744c75c /Objects
parentced80d8ce2379cb3c8f4b90255633e6fa9efeff7 (diff)
downloadcpython-git-9050aaf6eef422e16de9707f981697c668d433db.tar.gz
[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>
Diffstat (limited to 'Objects')
-rw-r--r--Objects/call.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/call.c b/Objects/call.c
index b53a98c76b..e6076e7005 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;
}