]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-134830: Fix reference in `Doc/extending/windows.rst` (GH-134831)
authorStan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
Mon, 2 Jun 2025 22:08:20 +0000 (23:08 +0100)
committerGitHub <noreply@github.com>
Mon, 2 Jun 2025 22:08:20 +0000 (00:08 +0200)
Co-authored-by: Miro HronĨok <miro@hroncok.cz>
Doc/c-api/stable.rst
Doc/extending/windows.rst

index 124e58cf950b7a7b9086942e5995cd5f5ab21530..9b65e0b8d23d93f299bd7122272d052ed09d212c 100644 (file)
@@ -51,6 +51,7 @@ It is generally intended for specialized, low-level tools like debuggers.
 Projects that use this API are expected to follow
 CPython development and spend extra effort adjusting to changes.
 
+.. _stable-application-binary-interface:
 
 Stable Application Binary Interface
 ===================================
index 56aa44e4e58c83a4778ad7990f1778ac0b4e53b9..a97c6182553c30245f62c2508ccd7e93209d03f3 100644 (file)
@@ -121,7 +121,7 @@ When creating DLLs in Windows, you can use the CPython library in two ways:
    :file:`Python.h` triggers an implicit, configure-aware link with the
    library.  The header file chooses :file:`pythonXY_d.lib` for Debug,
    :file:`pythonXY.lib` for Release, and :file:`pythonX.lib` for Release with
-   the `Limited API <stable-application-binary-interface>`_ enabled.
+   the :ref:`Limited API <stable-application-binary-interface>` enabled.
 
    To build two DLLs, spam and ni (which uses C functions found in spam), you
    could use these commands::