]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-102304: Fix up Simple ABI doc (GH-105351)
authorVictor Stinner <vstinner@python.org>
Tue, 6 Jun 2023 11:03:51 +0000 (13:03 +0200)
committerGitHub <noreply@github.com>
Tue, 6 Jun 2023 11:03:51 +0000 (13:03 +0200)
Doc/c-api/stable.rst
Makefile.pre.in

index df01e737bbc4a699ff05a37577d518d931c00bb5..149d4d6bac3ee49cbddb1f5f35813575006f37e2 100644 (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``.
index 9cc3164090d70408a5bddde1c06c9bcc24b00b7a..ae428ebb9a25f3175cf22fc91d73a8cf5cbb8bb1 100644 (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
 
 ############################################################################