diff --git a/Include/typeslots.h b/Include/typeslots.h index f56749d..a89d73b 100644 --- a/Include/typeslots.h +++ b/Include/typeslots.h @@ -79,3 +79,4 @@ #define Py_am_await 77 #define Py_am_aiter 78 #define Py_am_anext 79 +#define Py_tp_finalize 80 diff --git a/Objects/typeslots.inc b/Objects/typeslots.inc index bcbe0af..dc750cc 100644 --- a/Objects/typeslots.inc +++ b/Objects/typeslots.inc @@ -78,3 +78,4 @@ offsetof(PyHeapTypeObject, as_number.nb_inplace_matrix_multiply), offsetof(PyHeapTypeObject, as_async.am_await), offsetof(PyHeapTypeObject, as_async.am_aiter), offsetof(PyHeapTypeObject, as_async.am_anext), +offsetof(PyHeapTypeObject, ht_type.tp_finalize),