Skip to content

Commit 5d3e9d8

Browse files
committed
Little tweaks
1 parent cca28c0 commit 5d3e9d8

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

pep-0394.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ For Python runtime distributors
5151
-------------------------------
5252

5353
* We expect Unix-like software distributions (including systems like macOS and
54-
Cygwin) should install the ``python2`` command into the default path
54+
Cygwin) to install the ``python2`` command into the default path
5555
whenever a version of the Python 2 interpreter is installed, and the same
5656
for ``python3`` and the Python 3 interpreter.
5757
* When invoked, ``python2`` should run some version of the Python 2
@@ -104,7 +104,7 @@ For Python script publishers
104104
This makes the user's environment more predictable (possibly resulting
105105
in fewer issues), and helps avoid disrupting their system.
106106
* For scripts that are only expected to be run in an activated virtual
107-
environment, shebang lines can be written as ``/usr/bin/env python``,
107+
environment, shebang lines can be written as ``#!/usr/bin/env python``,
108108
as this instructs the script to respect the active virtual environment.
109109
* In cases where the script is expected to be executed outside virtual
110110
environments, developers will need to be aware of the following
@@ -114,9 +114,9 @@ For Python script publishers
114114
refers to Python 2. Most of these distros do *not* provide a
115115
``python2`` command.
116116
* Some newer Linux distributions will provide a ``python`` command that
117-
refers to Python 3
117+
refers to Python 3.
118118
* Some Linux distributions will not provide a ``python`` command at
119-
all by default, but will provide a ``python3`` command by default
119+
all by default, but will provide a ``python3`` command by default.
120120

121121
* When potentially targeting these environments, developers may either
122122
use a Python package installation tool that rewrites shebang lines for
@@ -148,7 +148,7 @@ These recommendations are the outcome of the relevant python-dev discussions
148148
in March and July 2011 ([1]_, [2]_), February 2012 ([4]_),
149149
September 2014 ([6]_), discussion on GitHub in April 2018 ([7]_),
150150
on python-dev in February 2019 ([8]_), and during the PEP update review
151-
in May 2019 ([10]_).
151+
in May/June 2019 ([10]_).
152152

153153

154154
History of this PEP

0 commit comments

Comments
 (0)