]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-118915: Fix bad link in documentation (GH-129691)
authorMiro Hrončok <miro@hroncok.cz>
Thu, 6 Feb 2025 12:34:06 +0000 (13:34 +0100)
committerGitHub <noreply@github.com>
Thu, 6 Feb 2025 12:34:06 +0000 (13:34 +0100)
Doc/c-api/init.rst

index 8e3be97dfeefd169ff2319a01eeecfa75998c3bb..f90af6a9ce7c266a29da0ffc51625a980089e772 100644 (file)
@@ -1501,7 +1501,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.