mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
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 666c0840dc
)
Co-authored-by: socal-nerdtastic <37753609+socal-nerdtastic@users.noreply.github.com>
This commit is contained in:
parent
95f75ca6d8
commit
6aabbe2b15
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue