Skip to content

Commit 0202aa0

Browse files
authored
gh-102304: Fix up Simple ABI doc (GH-105351)
1 parent 2c49c75 commit 0202aa0

File tree

2 files changed

+4
-9
lines changed

2 files changed

+4
-9
lines changed

Doc/c-api/stable.rst

+4-4
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,10 @@ CPython development and spend extra effort adjusting to changes.
5555
Stable Application Binary Interface
5656
===================================
5757

58+
For simplicity, this document talks about *extensions*, but the Limited API
59+
and Stable ABI work the same way for all uses of the API – for example,
60+
embedding Python.
61+
5862
.. _limited-c-api:
5963

6064
Limited C API
@@ -96,10 +100,6 @@ The Stable ABI contains symbols exposed in the :ref:`Limited API
96100
<limited-c-api>`, but also other ones – for example, functions necessary to
97101
support older versions of the Limited API.
98102

99-
(For simplicity, this document talks about *extensions*, but the Limited API
100-
and Stable ABI work the same way for all uses of the API – for example,
101-
embedding Python.)
102-
103103
On Windows, extensions that use the Stable ABI should be linked against
104104
``python3.dll`` rather than a version-specific library such as
105105
``python39.dll``.

Makefile.pre.in

-5
Original file line numberDiff line numberDiff line change
@@ -1309,11 +1309,6 @@ check-abidump: all
13091309

13101310
.PHONY: regen-limited-abi
13111311
regen-limited-abi: all
1312-
# Regenerate files using using Tools/build/stable_abi.py:
1313-
# - Doc/data/stable_abi.dat
1314-
# - Lib/test/test_stable_abi_ctypes.py
1315-
# - Modules/_testcapi_feature_macros.inc
1316-
# - PC/python3dll.c
13171312
$(RUNSHARED) ./$(BUILDPYTHON) $(srcdir)/Tools/build/stable_abi.py --generate-all $(srcdir)/Misc/stable_abi.toml
13181313

13191314
############################################################################

0 commit comments

Comments
 (0)