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
(cherry picked from commit caa2a97)

Co-authored-by: ov2k <ov2k.github@gmail.com>
  • Loading branch information
miss-islington and ov2k authored Aug 25, 2022
1 parent 888054a commit 3d14b4f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Doc/c-api/typeobj.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2041,9 +2041,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 3d14b4f

Please sign in to comment.