Skip to content

Commit 276e801

Browse files
committed
bpo-43706: Address code review
1 parent 93eaff8 commit 276e801

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Objects/enumobject.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,8 @@ enum_new_impl(PyTypeObject *type, PyObject *iterable, PyObject *start)
8383

8484
// TODO: Use AC when bpo-43447 is supported
8585
static PyObject *
86-
enum_vectorcall(PyObject *type, PyObject *const *args,
87-
size_t nargsf, PyObject *kwnames)
86+
enumerate_vectorcall(PyObject *type, PyObject *const *args,
87+
size_t nargsf, PyObject *kwnames)
8888
{
8989
assert(PyType_Check(type));
9090
PyTypeObject *tp = (PyTypeObject *)type;
@@ -300,7 +300,7 @@ PyTypeObject PyEnum_Type = {
300300
PyType_GenericAlloc, /* tp_alloc */
301301
enum_new, /* tp_new */
302302
PyObject_GC_Del, /* tp_free */
303-
.tp_vectorcall = (vectorcallfunc)enum_vectorcall
303+
.tp_vectorcall = (vectorcallfunc)enumerate_vectorcall
304304
};
305305

306306
/* Reversed Object ***************************************************************/

0 commit comments

Comments
 (0)