summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
authorJeroen Demeyer <J.Demeyer@UGent.be>2019-05-30 13:11:22 (GMT)
committerPetr Viktorin <encukou@gmail.com>2019-05-30 13:11:22 (GMT)
commit37788bc23f6f1ed0362b9b3b248daf296c024849 (patch)
treeadfc68a022f5e0ca5c06adf47d35292d802b5e77 /Python
parent6d0b7470a4738a403ef48cfd50d9447e0f32f00c (diff)
downloadcpython-37788bc23f6f1ed0362b9b3b248daf296c024849.zip
cpython-37788bc23f6f1ed0362b9b3b248daf296c024849.tar.gz
cpython-37788bc23f6f1ed0362b9b3b248daf296c024849.tar.bz2
bpo-36974: rename _FastCallKeywords -> _Vectorcall (GH-13653)
Diffstat (limited to 'Python')
-rw-r--r--Python/ceval.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/Python/ceval.c b/Python/ceval.c
index 47baa4d..71e6eb8 100644
--- a/Python/ceval.c
+++ b/Python/ceval.c
@@ -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;
}