diff --git a/src/nb_internals.cpp b/src/nb_internals.cpp index 300faf86..d78aca8b 100644 --- a/src/nb_internals.cpp +++ b/src/nb_internals.cpp @@ -103,9 +103,7 @@ static PyType_Slot nb_func_slots[] = { { Py_tp_dealloc, (void *) nb_func_dealloc }, { Py_tp_getattro, (void *) nb_func_getattro }, { Py_tp_new, (void *) PyType_GenericNew }, -#if PY_VERSION_HEX < 0x030C0000 { Py_tp_call, (void *) PyVectorcall_Call }, -#endif { 0, nullptr } }; @@ -123,9 +121,7 @@ static PyType_Slot nb_method_slots[] = { { Py_tp_getattro, (void *) nb_func_getattro }, { Py_tp_descr_get, (void *) nb_method_descr_get }, { Py_tp_new, (void *) PyType_GenericNew }, -#if PY_VERSION_HEX < 0x030C0000 { Py_tp_call, (void *) PyVectorcall_Call }, -#endif { 0, nullptr } }; @@ -147,9 +143,7 @@ static PyMemberDef nb_bound_method_members[] = { static PyType_Slot nb_bound_method_slots[] = { { Py_tp_members, (void *) nb_bound_method_members }, { Py_tp_dealloc, (void *) nb_bound_method_dealloc }, -#if PY_VERSION_HEX < 0x030C0000 { Py_tp_call, (void *) PyVectorcall_Call }, -#endif { 0, nullptr } };