[Python-checkins] Fix trivial typo in shebang example (GH-101385)

miss-islington webhook-mailer at python.org
Sun Jan 29 16:14:28 EST 2023


https://github.com/python/cpython/commit/34679913fe9ad8a13d2f431abe8af9e340831b1d
commit: 34679913fe9ad8a13d2f431abe8af9e340831b1d
branch: 3.11
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: miss-islington <31488909+miss-islington at users.noreply.github.com>
date: 2023-01-29T13:14:23-08:00
summary:

Fix trivial typo in shebang example (GH-101385)


The example was showing the current version, but should be pinned to 3.7 to match the example command.
(cherry picked from commit 666c0840dcac9941fa41ec619fef8d45cd849a0b)

Co-authored-by: socal-nerdtastic <37753609+socal-nerdtastic at users.noreply.github.com>

files:
M Doc/using/windows.rst

diff --git a/Doc/using/windows.rst b/Doc/using/windows.rst
index ce1d55e6e2e2..092ce47ad39a 100644
--- a/Doc/using/windows.rst
+++ b/Doc/using/windows.rst
@@ -784,7 +784,7 @@ is printed.  Now try changing the first line to be:
 Re-executing the command should now print the latest Python 3.x information.
 As with the above command-line examples, you can specify a more explicit
 version qualifier.  Assuming you have Python 3.7 installed, try changing
-the first line to ``#! python3.7`` and you should find the |version|
+the first line to ``#! python3.7`` and you should find the 3.7
 version information printed.
 
 Note that unlike interactive use, a bare "python" will use the latest



More information about the Python-checkins mailing list