From: Miro HronĨok Date: Thu, 6 Feb 2025 12:34:06 +0000 (+0100) Subject: gh-118915: Fix bad link in documentation (GH-129691) X-Git-Tag: v3.14.0a5~94 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=779d06945cbb59ec187a8c39300fb0ab6f9c0c1d;p=thirdparty%2FPython%2Fcpython.git gh-118915: Fix bad link in documentation (GH-129691) --- diff --git a/Doc/c-api/init.rst b/Doc/c-api/init.rst index 8e3be97dfeef..f90af6a9ce7c 100644 --- a/Doc/c-api/init.rst +++ b/Doc/c-api/init.rst @@ -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 `_ + Return a :term:`strong reference` to the ``__main__`` :ref:`module object ` for the given interpreter. The caller must hold the GIL.