]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.7] Fix typo in _PyMethodDef_RawFastCallKeywords error message (GH-13343) (GH-13385)
authorStéphane Wirtel <stephane@wirtel.be>
Fri, 17 May 2019 11:34:47 +0000 (13:34 +0200)
committerGitHub <noreply@github.com>
Fri, 17 May 2019 11:34:47 +0000 (13:34 +0200)
(cherry picked from commit a8b46944d72bba6dc76260ed61da5c78d3f9d9c0)

Co-authored-by: Jeroen Demeyer <J.Demeyer@UGent.be>
Objects/call.c

index b53a98c76b0e335ea5c7e991a5562ff69038e152..e6076e7005e94a131c64051cd71372689d5d4edf 100644 (file)
@@ -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;
     }