[Python-checkins] Update __main__.rst (GH-30896)

Mariatta webhook-mailer at python.org
Mon Feb 14 13:53:33 EST 2022


https://github.com/python/cpython/commit/4e4e7c2684b80350e82d82e4feeda5de24d362b9
commit: 4e4e7c2684b80350e82d82e4feeda5de24d362b9
branch: main
author: David Gilbertson <gilbertson.david at gmail.com>
committer: Mariatta <Mariatta at users.noreply.github.com>
date: 2022-02-14T10:53:16-08:00
summary:

Update __main__.rst (GH-30896)

The reference to `venv` appears in the paragraph below, instead of above.
Fixed the documentation.

files:
M Doc/library/__main__.rst

diff --git a/Doc/library/__main__.rst b/Doc/library/__main__.rst
index c5f36a7fcf077..d0a65e76b8423 100644
--- a/Doc/library/__main__.rst
+++ b/Doc/library/__main__.rst
@@ -253,7 +253,7 @@ attribute will include the package's path if imported::
 
 This won't work for ``__main__.py`` files in the root directory of a .zip file
 though.  Hence, for consistency, minimal ``__main__.py`` like the :mod:`venv`
-one mentioned above are preferred.
+one mentioned below are preferred.
 
 .. seealso::
 



More information about the Python-checkins mailing list