diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2021-08-24 20:54:08 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-24 20:54:08 (GMT) |
commit | ec5a03168f02ef92f98a94796bc6378fc73622e8 (patch) | |
tree | 9425950d40117bf22b9d9f725f4b19b2cd85ef03 /Doc/tools | |
parent | 0af681b652c43f0ba90988400ecc1e7934fbfc5d (diff) | |
download | cpython-ec5a03168f02ef92f98a94796bc6378fc73622e8.zip cpython-ec5a03168f02ef92f98a94796bc6378fc73622e8.tar.gz cpython-ec5a03168f02ef92f98a94796bc6378fc73622e8.tar.bz2 |
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 7cba23164cf82f6619db002cd30021b5dfb1f809)
Co-authored-by: Jack DeVries <58614260+jdevries3133@users.noreply.github.com>
Diffstat (limited to 'Doc/tools')
-rw-r--r-- | Doc/tools/susp-ignored.csv | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Doc/tools/susp-ignored.csv b/Doc/tools/susp-ignored.csv index c6c665c..54360c2 100644 --- a/Doc/tools/susp-ignored.csv +++ b/Doc/tools/susp-ignored.csv @@ -110,6 +110,7 @@ howto/pyporting,,::,Programming Language :: Python :: 3 howto/regex,,::, howto/regex,,:foo,(?:foo) howto/urllib2,,:password,"""joe:password@example.com""" +library/__main__,,`, library/ast,,:upper,lower:upper library/ast,,:step,lower:upper:step library/audioop,,:ipos,"# factor = audioop.findfactor(in_test[ipos*2:ipos*2+len(out_test)]," |