summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2022-08-25 13:42:32 (GMT)
committerGitHub <noreply@github.com>2022-08-25 13:42:32 (GMT)
commit2f88289cf59d7f0941534e40bdd41a5f26f1c605 (patch)
treed41f6fa5f54e485b6bec4e751822a97b42eed10f /Doc
parent147b8312eac0647a5b2d74812acf7f51054488a3 (diff)
downloadcpython-2f88289cf59d7f0941534e40bdd41a5f26f1c605.zip
cpython-2f88289cf59d7f0941534e40bdd41a5f26f1c605.tar.gz
cpython-2f88289cf59d7f0941534e40bdd41a5f26f1c605.tar.bz2
Clarify API stability of PyTypeObject in relation to static types. (GH-96217)
Fixes: https://github.com/python/cpython/issues/95300 Related: https://github.com/python/cpython/issues/91271 (cherry picked from commit caa2a9799a47294441e4206037620322eea9ed06) Co-authored-by: ov2k <ov2k.github@gmail.com>
Diffstat (limited to 'Doc')
-rw-r--r--Doc/c-api/typeobj.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/c-api/typeobj.rst b/Doc/c-api/typeobj.rst
index 8d7a2ed..9bb0e6d 100644
--- a/Doc/c-api/typeobj.rst
+++ b/Doc/c-api/typeobj.rst
@@ -2047,9 +2047,9 @@ This results in types that are limited relative to types defined in Python:
:ref:`sub-interpreters <sub-interpreter-support>`, so they should not
include any subinterpreter-specific state.
-Also, since :c:type:`PyTypeObject` is not part of the :ref:`stable ABI <stable>`,
-any extension modules using static types must be compiled for a specific
-Python minor version.
+Also, since :c:type:`PyTypeObject` is only part of the :ref:`Limited API
+<stable>` as an opaque struct, any extension modules using static types must be
+compiled for a specific Python minor version.
.. _heap-types: