]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Update __main__.rst (GH-30896)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 14 Feb 2022 20:10:34 +0000 (12:10 -0800)
committerGitHub <noreply@github.com>
Mon, 14 Feb 2022 20:10:34 +0000 (12:10 -0800)
The reference to `venv` appears in the paragraph below, instead of above.
Fixed the documentation.
(cherry picked from commit 4e4e7c2684b80350e82d82e4feeda5de24d362b9)

Co-authored-by: David Gilbertson <gilbertson.david@gmail.com>
Co-authored-by: David Gilbertson <gilbertson.david@gmail.com>
Doc/library/__main__.rst

index c5f36a7fcf077511b69450a168e006f3187d4dd0..d0a65e76b842375867a9ff3d900fa6f6918a93c1 100644 (file)
@@ -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::