bpo-36974: rename _FastCallKeywords -> _Vectorcall (GH-13653)

This commit is contained in:
Jeroen Demeyer 2019-05-30 15:11:22 +02:00 committed by Petr Viktorin
parent 6d0b7470a4
commit 37788bc23f
9 changed files with 19 additions and 19 deletions

View file

@ -4815,7 +4815,7 @@ trace_call_function(PyThreadState *tstate,
{
PyObject *x;
if (PyCFunction_Check(func)) {
C_TRACE(x, _PyCFunction_FastCallKeywords(func, args, nargs, kwnames));
C_TRACE(x, _PyCFunction_Vectorcall(func, args, nargs, kwnames));
return x;
}
else if (Py_TYPE(func) == &PyMethodDescr_Type && nargs > 0) {
@ -4831,9 +4831,9 @@ trace_call_function(PyThreadState *tstate,
if (func == NULL) {
return NULL;
}
C_TRACE(x, _PyCFunction_FastCallKeywords(func,
args+1, nargs-1,
kwnames));
C_TRACE(x, _PyCFunction_Vectorcall(func,
args+1, nargs-1,
kwnames));
Py_DECREF(func);
return x;
}