mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +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.
This commit is contained in:
parent
84483aacc0
commit
666c0840dc
1 changed files with 1 additions and 1 deletions
|
@ -797,7 +797,7 @@ is printed. Now try changing the first line to be:
|
||||||
Re-executing the command should now print the latest Python 3.x information.
|
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
|
As with the above command-line examples, you can specify a more explicit
|
||||||
version qualifier. Assuming you have Python 3.7 installed, try changing
|
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.
|
version information printed.
|
||||||
|
|
||||||
Note that unlike interactive use, a bare "python" will use the latest
|
Note that unlike interactive use, a bare "python" will use the latest
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue