summaryrefslogtreecommitdiffstats
path: root/Doc/c-api
diff options
context:
space:
mode:
authorCarl Meyer <carl@oddbird.net>2022-12-15 11:26:08 (GMT)
committerGitHub <noreply@github.com>2022-12-15 11:26:08 (GMT)
commitb7e4f1d97c6e784d2dee182d2b81541ddcff5751 (patch)
tree956f704a69c7967074f6e879d1d4f7404385d1c2 /Doc/c-api
parent48e352a2410b6e962d40359939a0d43aaba5ece9 (diff)
downloadcpython-b7e4f1d97c6e784d2dee182d2b81541ddcff5751.zip
cpython-b7e4f1d97c6e784d2dee182d2b81541ddcff5751.tar.gz
cpython-b7e4f1d97c6e784d2dee182d2b81541ddcff5751.tar.bz2
GH-99767: update PyTypeObject docs for type watchers (GH-99928)
Diffstat (limited to 'Doc/c-api')
-rw-r--r--Doc/c-api/typeobj.rst9
1 files changed, 9 insertions, 0 deletions
diff --git a/Doc/c-api/typeobj.rst b/Doc/c-api/typeobj.rst
index 8f8869e..c7b318b 100644
--- a/Doc/c-api/typeobj.rst
+++ b/Doc/c-api/typeobj.rst
@@ -147,6 +147,8 @@ Quick Reference
+------------------------------------------------+-----------------------------------+-------------------+---+---+---+---+
| :c:member:`~PyTypeObject.tp_vectorcall` | :c:type:`vectorcallfunc` | | | | | |
+------------------------------------------------+-----------------------------------+-------------------+---+---+---+---+
+ | :c:member:`~PyTypeObject.tp_watched` | char | | | | | |
+ +------------------------------------------------+-----------------------------------+-------------------+---+---+---+---+
.. [#slots]
@@ -2090,6 +2092,13 @@ and :c:type:`PyType_Type` effectively act as defaults.)
.. versionadded:: 3.9 (the field exists since 3.8 but it's only used since 3.9)
+.. c:member:: char PyTypeObject.tp_watched
+
+ Internal. Do not use.
+
+ .. versionadded:: 3.12
+
+
.. _static-types:
Static Types