mirror of
https://github.com/python/cpython.git
synced 2025-08-24 18:55:00 +00:00
bpo-36974: rename _FastCallKeywords -> _Vectorcall (GH-13653)
This commit is contained in:
parent
6d0b7470a4
commit
37788bc23f
9 changed files with 19 additions and 19 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue