File tree Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -147,6 +147,8 @@ Quick Reference
147147 +------------------------------------------------+-----------------------------------+-------------------+---+---+---+---+
148148 | :c:member: `~PyTypeObject.tp_vectorcall ` | :c:type: `vectorcallfunc ` | | | | | |
149149 +------------------------------------------------+-----------------------------------+-------------------+---+---+---+---+
150+ | :c:member: `~PyTypeObject.tp_watched ` | char | | | | | |
151+ +------------------------------------------------+-----------------------------------+-------------------+---+---+---+---+
150152
151153.. [#slots ]
152154
@@ -2090,6 +2092,13 @@ and :c:type:`PyType_Type` effectively act as defaults.)
20902092 .. versionadded :: 3.9 (the field exists since 3.8 but it's only used since 3.9)
20912093
20922094
2095+ .. c :member :: char PyTypeObject.tp_watched
2096+
2097+ Internal. Do not use.
2098+
2099+ .. versionadded :: 3.12
2100+
2101+
20932102.. _static-types :
20942103
20952104Static Types
Original file line number Diff line number Diff line change @@ -80,4 +80,7 @@ typedef struct _typeobject {
8080
8181 destructor tp_finalize ;
8282 vectorcallfunc tp_vectorcall ;
83+
84+ /* bitset of which type-watchers care about this type */
85+ char tp_watched ;
8386} PyTypeObject ;
You can’t perform that action at this time.
0 commit comments