[Python-checkins] Fix typo in _PyMethodDef_RawFastCallKeywords error message (GH-13343)

Stéphane Wirtel webhook-mailer at python.org
Fri May 17 06:21:51 EDT 2019


https://github.com/python/cpython/commit/a8b46944d72bba6dc76260ed61da5c78d3f9d9c0
commit: a8b46944d72bba6dc76260ed61da5c78d3f9d9c0
branch: master
author: Jeroen Demeyer <J.Demeyer at UGent.be>
committer: Stéphane Wirtel <stephane at wirtel.be>
date: 2019-05-17T12:21:35+02:00
summary:

Fix typo in _PyMethodDef_RawFastCallKeywords error message (GH-13343)

files:
M Objects/call.c

diff --git a/Objects/call.c b/Objects/call.c
index 68f9e879fa76..337ca8110809 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;
     }



More information about the Python-checkins mailing list