Skip to content

Commit caa2a97

Browse files
authored
Clarify API stability of PyTypeObject in relation to static types. (GH-96217)
Fixes: #95300 Related: #91271
1 parent ad7340e commit caa2a97

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Doc/c-api/typeobj.rst

+3-3
Original file line numberDiff line numberDiff line change
@@ -2062,9 +2062,9 @@ This results in types that are limited relative to types defined in Python:
20622062
:ref:`sub-interpreters <sub-interpreter-support>`, so they should not
20632063
include any subinterpreter-specific state.
20642064

2065-
Also, since :c:type:`PyTypeObject` is not part of the :ref:`stable ABI <stable>`,
2066-
any extension modules using static types must be compiled for a specific
2067-
Python minor version.
2065+
Also, since :c:type:`PyTypeObject` is only part of the :ref:`Limited API
2066+
<stable>` as an opaque struct, any extension modules using static types must be
2067+
compiled for a specific Python minor version.
20682068

20692069

20702070
.. _heap-types:

0 commit comments

Comments
 (0)