Skip to content

Commit 065f681

Browse files
committed
pythongh-102304: Fix up Simple ABI doc (pythonGH-105351)
(cherry picked from commit 0202aa0)
1 parent 578e5ff commit 065f681

File tree

2 files changed

+4
-9
lines changed

2 files changed

+4
-9
lines changed

Doc/c-api/stable.rst

Lines changed: 4 additions & 4 deletions
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

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1308,11 +1308,6 @@ check-abidump: all
13081308

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

13181313
############################################################################

0 commit comments

Comments
 (0)