diff options
author | Jack DeVries <58614260+jdevries3133@users.noreply.github.com> | 2021-08-24 17:01:41 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-24 17:01:41 (GMT) |
commit | 7cba23164cf82f6619db002cd30021b5dfb1f809 (patch) | |
tree | 21b0324f3a913384ca8c88578ff25bca3119a392 /Doc/tools | |
parent | a24676bedcd332dd7e6fa5521d0449206391d190 (diff) | |
download | cpython-7cba23164cf82f6619db002cd30021b5dfb1f809.zip cpython-7cba23164cf82f6619db002cd30021b5dfb1f809.tar.gz cpython-7cba23164cf82f6619db002cd30021b5dfb1f809.tar.bz2 |
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>
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 211b49a..35bcbd0 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)]," |