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

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


https://github.com/python/cpython/commit/6aabbe2b15d7c1ad671c76f166bf553e7ebc7253
commit: 6aabbe2b15d7c1ad671c76f166bf553e7ebc7253
branch: 3.10
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:18-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 9489609b4b48..0c5684e570a1 100644
--- a/Doc/using/windows.rst
+++ b/Doc/using/windows.rst
@@ -780,7 +780,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