summaryrefslogtreecommitdiff
path: root/Objects/typeslots.inc
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2015-06-01 10:12:48 -0500
committerBenjamin Peterson <benjamin@python.org>2015-06-01 10:12:48 -0500
commitdd00b8958f86c4215d6ab805ff5fb7e9279d1025 (patch)
treeb7b22d7b8de7cf22b51b54a15b43c70208292370 /Objects/typeslots.inc
parent76cabeb1a4cb4c08ea8f032df4463af6147ee238 (diff)
downloadcpython-dd00b8958f86c4215d6ab805ff5fb7e9279d1025.tar.gz
add Py_tp_finalize slot (closes #24345)
Patch from Petr Viktorin.
Diffstat (limited to 'Objects/typeslots.inc')
-rw-r--r--Objects/typeslots.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/Objects/typeslots.inc b/Objects/typeslots.inc
index bcbe0af3b8..dc750cc0c4 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),