8000 Remove Python 3.5 hardcoded version in the tutorial appendix (GH-117612) · miss-islington/cpython@a855f82 · GitHub
[go: up one dir, main page]

Skip to content

Commit a855f82

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

File tree

< 8000 button data-component="IconButton" type="button" data-testid="collapse-file-tree-button" aria-expanded="true" aria-controls="diff_file_tree" class="prc-Button-ButtonBase-c50BI d-none d-md-flex position-relative fgColor-muted prc-Button-IconButton-szpyj" data-loading="false" data-no-visuals="true" data-size="medium" data-variant="invisible" aria-describedby=":Rsatdab:-loading-announcement" aria-labelledby=":R4atdab:">

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Doc/tutorial/appendix.rst

Lines changed: 2 additions & 2 deletions
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)
0