Skip to content

Commit 779d069

Browse files
authored
gh-118915: Fix bad link in documentation (GH-129691)
1 parent a64e0a5 commit 779d069

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/c-api/init.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -1501,7 +1501,7 @@ All of the following functions must be called after :c:func:`Py_Initialize`.
15011501
15021502
.. c:function:: PyObject* PyUnstable_InterpreterState_GetMainModule(PyInterpreterState *interp)
15031503
1504-
Return a :term:`strong reference` to the ``__main__`` `module object <moduleobjects>`_
1504+
Return a :term:`strong reference` to the ``__main__`` :ref:`module object <moduleobjects>`
15051505
for the given interpreter.
15061506
15071507
The caller must hold the GIL.

0 commit comments

Comments
 (0)