From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Thu, 6 Feb 2025 12:47:07 +0000 (+0100) Subject: [3.13] gh-118915: Fix bad link in documentation (GH-129691) (GH-129723) X-Git-Tag: v3.13.3~314 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=fc78ed9e6f9830ce8dda5c21f4ef30ba3aa6bf80;p=thirdparty%2FPython%2Fcpython.git [3.13] gh-118915: Fix bad link in documentation (GH-129691) (GH-129723) gh-118915: Fix bad link in documentation (GH-129691) (cherry picked from commit 779d06945cbb59ec187a8c39300fb0ab6f9c0c1d) Co-authored-by: Miro HronĨok --- diff --git a/Doc/c-api/init.rst b/Doc/c-api/init.rst index 130942e070ef..0c12b42d211d 100644 --- a/Doc/c-api/init.rst +++ b/Doc/c-api/init.rst @@ -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 `_ + Return a :term:`strong reference` to the ``__main__`` :ref:`module object ` for the given interpreter. The caller must hold the GIL.