]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.13] gh-118915: Fix bad link in documentation (GH-129691) (GH-129723)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 6 Feb 2025 12:47:07 +0000 (13:47 +0100)
committerGitHub <noreply@github.com>
Thu, 6 Feb 2025 12:47:07 +0000 (13:47 +0100)
gh-118915: Fix bad link in documentation (GH-129691)
(cherry picked from commit 779d06945cbb59ec187a8c39300fb0ab6f9c0c1d)

Co-authored-by: Miro HronĨok <miro@hroncok.cz>
Doc/c-api/init.rst

index 130942e070ef7ae3766a45c46a9fefee14f9e053..0c12b42d211d71da08f501575768941aa40a3ffb 100644 (file)
@@ -1448,7 +1448,7 @@ All of the following functions must be called after :c:func:`Py_Initialize`.
 
 .. c:function:: PyObject* PyUnstable_InterpreterState_GetMainModule(PyInterpreterState *interp)
 
-   Return a :term:`strong reference` to the ``__main__`` `module object <moduleobjects>`_
+   Return a :term:`strong reference` to the ``__main__`` :ref:`module object <moduleobjects>`
    for the given interpreter.
 
    The caller must hold the GIL.