Skip to content

Commit 2f88289

Browse files
miss-islingtonov2k
andauthored
Clarify API stability of PyTypeObject in relation to static types. (GH-96217)
Fixes: #95300 Related: #91271 (cherry picked from commit caa2a97) Co-authored-by: ov2k <[email protected]>
1 parent 147b831 commit 2f88289

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
@@ -2047,9 +2047,9 @@ This results in types that are limited relative to types defined in Python:
20472047
:ref:`sub-interpreters <sub-interpreter-support>`, so they should not
20482048
include any subinterpreter-specific state.
20492049

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

20542054

20552055
.. _heap-types:

0 commit comments

Comments
 (0)