gh-102304: Fix up Simple ABI doc (GH-105351)

This commit is contained in:
Victor Stinner 2023-06-06 13:03:51 +02:00 committed by GitHub
parent 2c49c759e8
commit 0202aa002e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 9 deletions

View file

@ -55,6 +55,10 @@ CPython development and spend extra effort adjusting to changes.
Stable Application Binary Interface
===================================
For simplicity, this document talks about *extensions*, but the Limited API
and Stable ABI work the same way for all uses of the API for example,
embedding Python.
.. _limited-c-api:
Limited C API
@ -96,10 +100,6 @@ The Stable ABI contains symbols exposed in the :ref:`Limited API
<limited-c-api>`, but also other ones for example, functions necessary to
support older versions of the Limited API.
(For simplicity, this document talks about *extensions*, but the Limited API
and Stable ABI work the same way for all uses of the API for example,
embedding Python.)
On Windows, extensions that use the Stable ABI should be linked against
``python3.dll`` rather than a version-specific library such as
``python39.dll``.

View file

@ -1309,11 +1309,6 @@ check-abidump: all
.PHONY: regen-limited-abi
regen-limited-abi: all
# Regenerate files using using Tools/build/stable_abi.py:
# - Doc/data/stable_abi.dat
# - Lib/test/test_stable_abi_ctypes.py
# - Modules/_testcapi_feature_macros.inc
# - PC/python3dll.c
$(RUNSHARED) ./$(BUILDPYTHON) $(srcdir)/Tools/build/stable_abi.py --generate-all $(srcdir)/Misc/stable_abi.toml
############################################################################