File tree 2 files changed +12
-0
lines changed
2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -147,6 +147,8 @@ Quick Reference
147
147
+------------------------------------------------+-----------------------------------+-------------------+---+---+---+---+
148
148
| :c:member: `~PyTypeObject.tp_vectorcall ` | :c:type: `vectorcallfunc ` | | | | | |
149
149
+------------------------------------------------+-----------------------------------+-------------------+---+---+---+---+
150
+ | :c:member: `~PyTypeObject.tp_watched ` | char | | | | | |
151
+ +------------------------------------------------+-----------------------------------+-------------------+---+---+---+---+
150
152
151
153
.. [#slots ]
152
154
@@ -2090,6 +2092,13 @@ and :c:type:`PyType_Type` effectively act as defaults.)
2090
2092
.. versionadded :: 3.9 (the field exists since 3.8 but it's only used since 3.9)
2091
2093
2092
2094
2095
+ .. c :member :: char PyTypeObject.tp_watched
2096
+
2097
+ Internal. Do not use.
2098
+
2099
+ .. versionadded :: 3.12
2100
+
2101
+
2093
2102
.. _static-types :
2094
2103
2095
2104
Static Types
Original file line number Diff line number Diff line change @@ -80,4 +80,7 @@ typedef struct _typeobject {
80
80
81
81
destructor tp_finalize ;
82
82
vectorcallfunc tp_vectorcall ;
83
+
84
+ /* bitset of which type-watchers care about this type */
85
+ char tp_watched ;
83
86
} PyTypeObject ;
You can’t perform that action at this time.
0 commit comments