Commits

Martin von Löwis committed 06a657d

Issue #11134: Add missing fields to typeslots.h.
Reviewed by Georg Brandl.

Comments (0)

Files changed (3)

Include/typeslots.h

 #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
 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

Objects/typeslots.inc

 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),