Skip to content

Commit

Permalink
gh-102304: Fix up Simple ABI doc (GH-105351)
Browse files Browse the repository at this point in the history
  • Loading branch information
vstinner authored Jun 6, 2023
1 parent 2c49c75 commit 0202aa0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 9 deletions.
8 changes: 4 additions & 4 deletions Doc/c-api/stable.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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``.
Expand Down
5 changes: 0 additions & 5 deletions Makefile.pre.in
Original file line number Diff line number Diff line change
Expand Up @@ -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

############################################################################
Expand Down

0 comments on commit 0202aa0

Please sign in to comment.