Skip to content

Commit 6d62f4a

Browse files
committed
Add minimal docs
1 parent c2dd550 commit 6d62f4a

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

Doc/c-api/stable.rst

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,16 @@ Contents of the Limited API are :ref:`listed below <limited-api-list>`.
8888
You can also define ``Py_LIMITED_API`` to ``3``. This works the same as
8989
``0x03020000`` (Python 3.2, the version that introduced Limited API).
9090

91+
.. c:macro:: Py_TARGET_ABI3T
92+
93+
Define this macro before including ``Python.h`` to opt in to only use
94+
the Limited API for :term:`free-threaded builds <free-threaded build>`,
95+
and to select the Limited API version.
96+
97+
.. seealso:: :pep:`803`
98+
99+
.. versionadded:: next
100+
91101

92102
.. _stable-abi:
93103

0 commit comments

Comments
 (0)