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 `_ + Return a :term:`strong reference` to the ``__main__`` :ref:`module object ` for the given interpreter. The caller must hold the GIL.