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

@ -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) {