SIGN IN SIGN UP

bpo-39452: Rewrite and expand __main__.rst (#26883)

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>
J
Jack DeVries committed
7cba23164cf82f6619db002cd30021b5dfb1f809
Parent: a24676b
Committed by GitHub <noreply@github.com> on 8/24/2021, 5:01:41 PM