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

Stéphane Wirtel webhook-mailer at python.org
Fri May 17 07:34:52 EDT 2019


https://github.com/python/cpython/commit/9050aaf6eef422e16de9707f981697c668d433db
commit: 9050aaf6eef422e16de9707f981697c668d433db
branch: 3.7
author: Stéphane Wirtel <stephane at wirtel.be>
committer: GitHub <noreply at github.com>
date: 2019-05-17T13:34:47+02:00
summary:

[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 at UGent.be>

files:
M Objects/call.c

diff --git a/Objects/call.c b/Objects/call.c
index b53a98c76b0e..e6076e7005e9 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;
     }



More information about the Python-checkins mailing list