From 779d06945cbb59ec187a8c39300fb0ab6f9c0c1d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Miro=20Hron=C4=8Dok?= Date: Thu, 6 Feb 2025 13:34:06 +0100 Subject: [PATCH] gh-118915: Fix bad link in documentation (GH-129691) --- Doc/c-api/init.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. -- 2.47.3