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

This commit is contained in:
Miro Hrončok 2025-02-06 13:34:06 +01:00 committed by GitHub
parent a64e0a553b
commit 779d06945c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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.