cpython/Doc/tutorial
Miss Islington (bot) ec5a03168f
bpo-39452: Rewrite and expand __main__.rst (GH-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>
(cherry picked from commit 7cba23164c)

Co-authored-by: Jack DeVries <58614260+jdevries3133@users.noreply.github.com>
2021-08-24 13:54:08 -07: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 20:25:11 -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 17:35:32 -07: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. (GH-27378) (GH-27380) 2021-07-27 00:34:32 +02:00
inputoutput.rst bpo-35765: Clarify references to "object x" in the JSON tutorial (GH-22411) (GH-26218) 2021-05-19 09:59:23 +01:00
interactive.rst bpo-25910: Fixes redirection from http to https (#4674) 2017-12-06 17:39:33 +01:00
interpreter.rst Python 3.10.0a0 (GH-20198) 2020-05-19 03:33:01 +01:00
introduction.rst introduce omitted index default before using it (GH-27775) (GH-27802) 2021-08-17 23:42:50 +02:00
modules.rst bpo-39452: Rewrite and expand __main__.rst (GH-26883) 2021-08-24 13:54:08 -07:00
stdlib.rst Python 3.10.0a0 (GH-20198) 2020-05-19 03:33:01 +01:00
stdlib2.rst Python 3.10.0a0 (GH-20198) 2020-05-19 03:33:01 +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. (GH-27378) (GH-27380) 2021-07-27 00:34:32 +02:00