Skip to content

Commit

Permalink
Clarify API stability of PyTypeObject in relation to static types. (G…
Browse files Browse the repository at this point in the history
…H-96217)

Fixes:
#95300

Related:
#91271
  • Loading branch information
ov2k committed Aug 25, 2022
1 parent ad7340e commit caa2a97
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Doc/c-api/typeobj.rst
Expand Up @@ -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:
Expand Down

0 comments on commit caa2a97

Please sign in to comment.