https://github.com/python/cpython/commit/fc78ed9e6f9830ce8dda5c21f4ef30ba3aa6bf80
commit: fc78ed9e6f9830ce8dda5c21f4ef30ba3aa6bf80
branch: 3.13
author: Miss Islington (bot) <[email protected]>
committer: encukou <[email protected]>
date: 2025-02-06T13:47:07+01:00
summary:

[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 <[email protected]>

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

diff --git a/Doc/c-api/init.rst b/Doc/c-api/init.rst
index 130942e070ef7a..0c12b42d211d71 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 
<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