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 fc7fb85 commit 2062b3dCopy full SHA for 2062b3d
Doc/c-api/typeobj.rst
@@ -1289,9 +1289,12 @@ and :c:data:`PyType_Type` effectively act as defaults.)
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.
+ A shorthand for checking if VM-managed fields are present.
+ Currently, this macro is equivalent to
+ :c:expr:`Py_TPFLAGS_MANAGED_DICT | Py_TPFLAGS_MANAGED_WEAKREF`.
1295
+
1296
+ This macro is intended for internal usage only; prefer using individual
1297
+ flags instead.
1298
1299
.. versionadded:: 3.12
1300
0 commit comments