]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix 2 broken links in documentation (#150892)
authorMiro Hrončok <miro@hroncok.cz>
Thu, 4 Jun 2026 09:42:06 +0000 (11:42 +0200)
committerGitHub <noreply@github.com>
Thu, 4 Jun 2026 09:42:06 +0000 (10:42 +0100)
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``: