diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2023-08-16 09:58:54 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-16 09:58:54 (GMT) |
commit | 00bfed7cba3f2d66a1534f9f088ddf68abbf0d3f (patch) | |
tree | c27c18b37c798401fd55f33468bed26e91d0c875 /Doc/c-api | |
parent | f0a583b6fbc9a4b2f9358c8426110a5c1f7948a3 (diff) | |
download | cpython-00bfed7cba3f2d66a1534f9f088ddf68abbf0d3f.zip cpython-00bfed7cba3f2d66a1534f9f088ddf68abbf0d3f.tar.gz cpython-00bfed7cba3f2d66a1534f9f088ddf68abbf0d3f.tar.bz2 |
[3.12] gh-91051: fix segfault when using all 8 type watchers (GH-107853) (#107876)
* gh-91051: fix segfault when using all 8 type watchers (GH-107853)
(cherry picked from commit 66e4edd7346b1cd65ddff6da890a0d725e325116)
Co-authored-by: Carl Meyer <carl@oddbird.net>
Diffstat (limited to 'Doc/c-api')
-rw-r--r-- | Doc/c-api/typeobj.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/c-api/typeobj.rst b/Doc/c-api/typeobj.rst index 221a05b..faa183e 100644 --- a/Doc/c-api/typeobj.rst +++ b/Doc/c-api/typeobj.rst @@ -147,7 +147,7 @@ Quick Reference +------------------------------------------------+-----------------------------------+-------------------+---+---+---+---+ | :c:member:`~PyTypeObject.tp_vectorcall` | :c:type:`vectorcallfunc` | | | | | | +------------------------------------------------+-----------------------------------+-------------------+---+---+---+---+ - | [:c:member:`~PyTypeObject.tp_watched`] | char | | | | | | + | [:c:member:`~PyTypeObject.tp_watched`] | unsigned char | | | | | | +------------------------------------------------+-----------------------------------+-------------------+---+---+---+---+ .. [#slots] @@ -2141,7 +2141,7 @@ and :c:data:`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 +.. c:member:: unsigned char PyTypeObject.tp_watched Internal. Do not use. |