https://github.com/python/cpython/commit/779d06945cbb59ec187a8c39300fb0ab6f9c0c1d
commit: 779d06945cbb59ec187a8c39300fb0ab6f9c0c1d
branch: main
author: Miro HronĨok <[email protected]>
committer: encukou <[email protected]>
date: 2025-02-06T13:34:06+01:00
summary:

gh-118915: Fix bad link in documentation (GH-129691)

files:
M Doc/c-api/init.rst

diff --git a/Doc/c-api/init.rst b/Doc/c-api/init.rst
index 8e3be97dfeefd1..f90af6a9ce7c26 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 
<moduleobjects>`_
+   Return a :term:`strong reference` to the ``__main__`` :ref:`module object 
<moduleobjects>`
    for the given interpreter.
 
    The caller must hold the GIL.

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: [email protected]

Reply via email to