summaryrefslogtreecommitdiffstats
path: root/Objects/funcobject.c
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 /Objects/funcobject.c
parent6d0b7470a4738a403ef48cfd50d9447e0f32f00c (diff)
downloadcpython-37788bc23f6f1ed0362b9b3b248daf296c024849.zip
cpython-37788bc23f6f1ed0362b9b3b248daf296c024849.tar.gz
cpython-37788bc23f6f1ed0362b9b3b248daf296c024849.tar.bz2
bpo-36974: rename _FastCallKeywords -> _Vectorcall (GH-13653)
Diffstat (limited to 'Objects/funcobject.c')
-rw-r--r--Objects/funcobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/funcobject.c b/Objects/funcobject.c
index 2b1f42d..6f5b5d2 100644
--- a/Objects/funcobject.c
+++ b/Objects/funcobject.c
@@ -36,7 +36,7 @@ PyFunction_NewWithQualName(PyObject *code, PyObject *globals, PyObject *qualname
op->func_defaults = NULL; /* No default arguments */
op->func_kwdefaults = NULL; /* No keyword only defaults */
op->func_closure = NULL;
- op->vectorcall = _PyFunction_FastCallKeywords;
+ op->vectorcall = _PyFunction_Vectorcall;
consts = ((PyCodeObject *)code)->co_consts;
if (PyTuple_Size(consts) >= 1) {