mirror of
https://github.com/python/cpython
synced 2024-09-19 20:51:48 +00:00
gh-102304: Fix up Simple ABI doc (GH-105351)
This commit is contained in:
parent
2c49c759e8
commit
0202aa002e
|
@ -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``.
|
||||
|
|
|
@ -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
|
||||
|
||||
############################################################################
|
||||
|
|
Loading…
Reference in a new issue