Issue #11134: Add missing fields to typeslots.h.
Reviewed by Georg Brandl.
diff --git a/Include/typeslots.h b/Include/typeslots.h
index 9be8ecd..ad3cdfb 100644
--- a/Include/typeslots.h
+++ b/Include/typeslots.h
@@ -71,3 +71,6 @@
#define Py_tp_setattro 69
#define Py_tp_str 70
#define Py_tp_traverse 71
+#define Py_tp_members 72
+#define Py_tp_getset 73
+#define Py_tp_free 74
diff --git a/Misc/NEWS b/Misc/NEWS
index 8e4ae14..f57ba38 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -10,6 +10,8 @@
Core and Builtins
-----------------
+- Issue #11134: Add missing fields to typeslots.h.
+
- Issue #11135: Remove redundant doc field from PyType_Spec.
- Issue #11067: Add PyType_GetFlags, to support PyUnicode_Check
diff --git a/Objects/typeslots.inc b/Objects/typeslots.inc
index d4872f6..0494a32 100644
--- a/Objects/typeslots.inc
+++ b/Objects/typeslots.inc
@@ -70,3 +70,6 @@
offsetof(PyHeapTypeObject, ht_type.tp_setattro),
offsetof(PyHeapTypeObject, ht_type.tp_str),
offsetof(PyHeapTypeObject, ht_type.tp_traverse),
+offsetof(PyHeapTypeObject, ht_type.tp_members),
+offsetof(PyHeapTypeObject, ht_type.tp_getset),
+offsetof(PyHeapTypeObject, ht_type.tp_free),