◐ Shell
clean mode source ↗

gh-118915: Document `PyUnstable_InterpreterState_GetMainModule` by ZeroIntensity · Pull Request #128483 · python/cpython

Skip to content

Navigation Menu

Provide feedback

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Merged

encukou

merged 1 commit into

Jan 9, 2025

Conversation

@miss-islington-app

Thanks @ZeroIntensity for the PR, and @encukou for merging it 🌮🎉.. I'm working now to backport this PR to: 3.13.
🐍🍒⛏🤖

@encukou

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request

Jan 9, 2025

@bedevere-app

encukou pushed a commit that referenced this pull request

Jan 10, 2025

hroncok


.. c:function:: PyObject* PyUnstable_InterpreterState_GetMainModule(PyInterpreterState *interp)

Return a :term:`strong reference` to the ``__main__`` `module object <moduleobjects>`_

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Labels