summaryrefslogtreecommitdiffstats
path: root/Objects/descrobject.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/descrobject.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/descrobject.c')
-rw-r--r--Objects/descrobject.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/Objects/descrobject.c b/Objects/descrobject.c
index 7590185..3aaeaa6 100644
--- a/Objects/descrobject.c
+++ b/Objects/descrobject.c
@@ -264,9 +264,9 @@ methoddescr_call(PyMethodDescrObject *descr, PyObject *args, PyObject *kwargs)
// same to methoddescr_call(), but use FASTCALL convention.
PyObject *
-_PyMethodDescr_FastCallKeywords(PyObject *descrobj,
- PyObject *const *args, size_t nargsf,
- PyObject *kwnames)
+_PyMethodDescr_Vectorcall(PyObject *descrobj,
+ PyObject *const *args, size_t nargsf,
+ PyObject *kwnames)
{
assert(Py_TYPE(descrobj) == &PyMethodDescr_Type);
PyMethodDescrObject *descr = (PyMethodDescrObject *)descrobj;
@@ -756,7 +756,7 @@ PyDescr_NewMethod(PyTypeObject *type, PyMethodDef *method)
type, method->ml_name);
if (descr != NULL) {
descr->d_method = method;
- descr->vectorcall = &_PyMethodDescr_FastCallKeywords;
+ descr->vectorcall = _PyMethodDescr_Vectorcall;
}
return (PyObject *)descr;
}