Skip to content

Commit a855f82

Browse files
Remove Python 3.5 hardcoded version in the tutorial appendix (GH-117612)
1 parent 7d90b8a commit a855f82

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Doc/tutorial/appendix.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ Executable Python Scripts
6262
On BSD'ish Unix systems, Python scripts can be made directly executable, like
6363
shell scripts, by putting the line ::
6464

65-
#!/usr/bin/env python3.5
65+
#!/usr/bin/env python3
6666

6767
(assuming that the interpreter is on the user's :envvar:`PATH`) at the beginning
6868
of the script and giving the file an executable mode. The ``#!`` must be the
@@ -129,7 +129,7 @@ of your user site-packages directory. Start Python and run this code::
129129

130130
>>> import site
131131
>>> site.getusersitepackages()
132-
'/home/user/.local/lib/python3.5/site-packages'
132+
'/home/user/.local/lib/python3.x/site-packages'
133133

134134
Now you can create a file named :file:`usercustomize.py` in that directory and
135135
put anything you want in it. It will affect every invocation of Python, unless

0 commit comments

Comments
 (0)