gh-90437: Fix __main__.py documentation wording
Complete fix for Issue #90437 with cherry-picked commits from @riqts and @merwok
This commit builds upon the previous work done by @riqts to address Issue #90437. It includes cherry-picked commits from their branch, ensuring their contributions are recognized and preserved in the project's history.
Cherry-picked commits:
- Commit 1: Fixed simple
__main__typo (c30b653) - Commit 2: those files are kept short, importing functions to execute from other modules (0611a6c)
Special thanks to @riqts and @merwok for their initial contributions to this issue.
Ali Tavallaie
- Issue: gh-90437
📚 Documentation preview 📚: https://cpython-previews--116309.org.readthedocs.build/
I'll keep it updated until it merged
Thanks @tavallaie for the PR, and @brettcannon for merging it 🌮🎉.. I'm working now to backport this PR to: 3.12, 3.13. 🐍🍒⛏🤖
GH-121385 is a backport of this pull request to the 3.13 branch.
GH-121386 is a backport of this pull request to the 3.12 branch.