cpython/Doc/tutorial
Jack DeVries 7cba23164c
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>
2021-08-24 19:01:41 +02:00
..
appendix.rst Improve highlighting of some code blocks. (GH-6401) 2018-04-08 19:18:04 +03:00
appetite.rst
classes.rst bpo-40204: Fix reference to terms in the doc (GH-21865) 2020-08-14 12:20:05 +02:00
controlflow.rst bpo-44907: Update error messages in tutorial examples (GH-27755) 2021-08-13 19:40:58 -04:00
datastructures.rst bpo-43325: Add FAQ entry for identity tests (GH-25168) 2021-04-03 19:54:49 -07:00
errors.rst bpo-44966: Fix out-of-date traceback message (GH-27867) 2021-08-21 13:59:18 -05:00
floatingpoint.rst [doc] Update references to NumPy (GH-22458) 2020-10-01 16:22:14 -07:00
index.rst bpo-44740: Lowercase "internet" and "web" where appropriate. (#27378) 2021-07-27 00:11:55 +02:00
inputoutput.rst bpo-35765: Clarify references to "object x" in the JSON tutorial (GH-22411) 2021-05-18 14:56:01 -07:00
interactive.rst bpo-25910: Fixes redirection from http to https (#4674) 2017-12-06 17:39:33 +01:00
interpreter.rst Python 3.11.0a0 2021-05-03 21:25:35 +01:00
introduction.rst introduce omitted index default before using it (GH-27775) 2021-08-17 23:19:03 +02:00
modules.rst bpo-39452: Rewrite and expand __main__.rst (#26883) 2021-08-24 19:01:41 +02:00
stdlib.rst Python 3.11.0a0 2021-05-03 21:25:35 +01:00
stdlib2.rst Python 3.11.0a0 2021-05-03 21:25:35 +01:00
venv.rst bpo-43777: Drop description of "pip search" command from tutorial (GH-25287) 2021-04-14 14:09:32 +09:00
whatnow.rst bpo-44740: Lowercase "internet" and "web" where appropriate. (#27378) 2021-07-27 00:11:55 +02:00