summaryrefslogtreecommitdiffstats
path: root/Doc/c-api
diff options
context:
space:
mode:
authorov2k <ov2k.github@gmail.com>2022-08-25 13:32:12 (GMT)
committerGitHub <noreply@github.com>2022-08-25 13:32:12 (GMT)
commitcaa2a9799a47294441e4206037620322eea9ed06 (patch)
tree3b8b9730c4f5686bb5efd5e38bb1333b128e3c58 /Doc/c-api
parentad7340e8c56f61edc1ff4724fe32c9d831db51a7 (diff)
downloadcpython-caa2a9799a47294441e4206037620322eea9ed06.zip
cpython-caa2a9799a47294441e4206037620322eea9ed06.tar.gz
cpython-caa2a9799a47294441e4206037620322eea9ed06.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
Diffstat (limited to 'Doc/c-api')
-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 b8baa7c..dfe91ee 100644
--- a/Doc/c-api/typeobj.rst
+++ b/Doc/c-api/typeobj.rst
@@ -2062,9 +2062,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: