]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.15] Fix 2 broken links in documentation (GH-150892)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 4 Jun 2026 09:51:34 +0000 (11:51 +0200)
committerGitHub <noreply@github.com>
Thu, 4 Jun 2026 09:51:34 +0000 (09:51 +0000)
(cherry picked from commit cb064e746de210fea8639b986c8d2a573b71c48f)

Co-authored-by: Miro HronĨok <miro@hroncok.cz>
Co-authored-by: Stan Ulbrych <stan@python.org>
Doc/c-api/complex.rst
Doc/extending/first-extension-module.rst

index 629312bd771beb255b0ac92c7f12ea74203bdc97..10f96c7cb75e882577670211fc219ac9ac6b3869 100644 (file)
@@ -130,7 +130,7 @@ rather than dereferencing them through pointers.
 
 Please note, that these functions are :term:`soft deprecated` since Python
 3.15.  Avoid using this API in a new code to do complex arithmetic: either use
-the `Number Protocol <number>`_ API or use native complex types, like
+the :ref:`Number Protocol <number>` API or use native complex types, like
 :c:expr:`double complex`.
 
 
index 894f5bdbb8f09c220b4ae00f87ca183724c2fa0f..55a772e2aca24f5a55b04328a9ef725d0e80a68d 100644 (file)
@@ -164,7 +164,7 @@ Then, create ``meson.build`` containing the following:
 
 .. note::
 
-   See `meson-python documentation <meson-python>`_ for details on
+   See the `meson-python documentation <meson-python_>`_ for details on
    configuration.
 
 Now, build install the *project in the current directory* (``.``) via ``pip``: