We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0eb59b3 commit 3195c33Copy full SHA for 3195c33
1 file changed
Doc/c-api/typeobj.rst
@@ -1287,6 +1287,15 @@ and :c:data:`PyType_Type` effectively act as defaults.)
1287
:c:member:`~PyTypeObject.tp_weaklistoffset` field is set in a superclass.
1288
1289
1290
+ .. c:macro:: Py_TPFLAGS_PREHEADER
1291
+
1292
+ This is a shorthand for checking is :c:macro:`Py_TPFLAGS_MANAGED_DICT` or
1293
+ :c:macro:`Py_TPFLAGS_MANAGED_WEAKREF` present. Supposed only for internal
1294
+ usage.
1295
1296
+ .. versionadded:: 3.12
1297
1298
1299
.. c:macro:: Py_TPFLAGS_ITEMS_AT_END
1300
1301
Only usable with variable-size types, i.e. ones with non-zero
0 commit comments