summaryrefslogtreecommitdiffstats
path: root/Doc/library/__main__.rst
Commit message (Collapse)AuthorAgeFilesLines
* Update __main__.rst (GH-30896)David Gilbertson2022-02-141-1/+1
| | | | The reference to `venv` appears in the paragraph below, instead of above. Fixed the documentation.
* bpo-45799: [Doc] improve confusing sentence in __main__.rst (GH-29546)Jack DeVries2021-11-131-2/+2
| | | | | I was reading this bit last night and thought it was a typo. In the light of day, I realized it wasn't *technically* a typo, but definitely confusing wording. This PR fixes the confusing sentence. Automerge-Triggered-By: GH:ericvsmith
* bpo-39452: [doc] Change "must" to "can" on relative import style in ↵Andre Delfino2021-11-061-1/+1
| | | | `__main__` (GH-29379)
* bpo-39452: Rewrite and expand __main__.rst (#26883)Jack DeVries2021-08-241-17/+360
| | | | | | | 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>
* Issue #22558: Add remaining doc links to source code for Python-coded modules.Terry Jan Reedy2016-06-111-0/+2
| | | | | Reformat header above separator line (added if missing) to a common format. Patch by Yoni Lavi.
* Issue #21920: Add a missing colon to the __main__ doc.Berker Peksag2014-07-051-1/+1
| | | | Patch by Stefan Tatschner.
* #15104: add backtick code markup.R David Murray2014-04-141-7/+7
|
* #15104: improve the discussion of __main__.R David Murray2014-04-141-5/+11
| | | | Patch by Sam Lucidi.
* Move the 3k reST doc tree in place.Georg Brandl2007-08-151-0/+17