Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork32.1k
[3.10] bpo-39452: Rewrite and expand __main__.rst (GH-26883)#27932
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
Broadened scope of the document to explicitly discuss and differentiate between ``__main__.py`` in packages versus the ``__name__ == '__main__'`` expression (and the idioms that surround it), as well as ``import __main__``.Co-authored-by: Géry Ogam <gery.ogam@gmail.com>Co-authored-by: Éric Araujo <merwok@netwok.org>Co-authored-by: Łukasz Langa <lukasz@langa.pl>(cherry picked from commit7cba231)Co-authored-by: Jack DeVries <58614260+jdevries3133@users.noreply.github.com>
@jdevries3133 and@ambv: Status check is done, and it's a success ✅ . |
1 similar comment
@jdevries3133 and@ambv: Status check is done, and it's a success ✅ . |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Doc-only change.
@jdevries3133 and@ambv: Status check is done, and it's a success ✅ . |
Uh oh!
There was an error while loading.Please reload this page.
Broadened scope of the document to explicitly discuss and differentiate between
__main__.py
in packages versus the__name__ == '__main__'
expression (and the idioms that surround it), as well asimport __main__
.Co-authored-by: Géry Ogamgery.ogam@gmail.com
Co-authored-by: Éric Araujomerwok@netwok.org
Co-authored-by: Łukasz Langalukasz@langa.pl
(cherry picked from commit7cba231)
Co-authored-by: Jack DeVries58614260+jdevries3133@users.noreply.github.com
https://bugs.python.org/issue39452