[3.12] Remove Python 3.5 hardcoded version in the tutorial appendix (GH-117612) (GH-118707)

Remove Python 3.5 hardcoded version in the tutorial appendix (GH-117612)
(cherry picked from commit a855f824a2)

Co-authored-by: Kerim Kabirov <the.privat33r+gh@pm.me>
This commit is contained in:
Miss Islington (bot) 2024-05-07 15:35:09 +02:00 committed by GitHub
parent 8e53f66797
commit efbc8c78c5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -40,7 +40,7 @@ Executable Python Scripts
On BSD'ish Unix systems, Python scripts can be made directly executable, like
shell scripts, by putting the line ::
#!/usr/bin/env python3.5
#!/usr/bin/env python3
(assuming that the interpreter is on the user's :envvar:`PATH`) at the beginning
of the script and giving the file an executable mode. The ``#!`` must be the
@ -107,7 +107,7 @@ of your user site-packages directory. Start Python and run this code::
>>> import site
>>> site.getusersitepackages()
'/home/user/.local/lib/python3.5/site-packages'
'/home/user/.local/lib/python3.x/site-packages'
Now you can create a file named :file:`usercustomize.py` in that directory and
put anything you want in it. It will affect every invocation of Python, unless