The leading zero isn't actually necessary.

This commit is contained in:
Bob Vincent 2018-11-27 09:12:08 -05:00 committed by GitHub
parent 0521e1c6dc
commit 237f127d21
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -100,11 +100,10 @@ options:
useful, for example, when installing on systems that have a very
restrictive umask by default (e.g., "0077") and you want to pip install
packages which are to be used by all users. Note that this requires you
to specify desired umask mode as an octal string, with a leading 0
(e.g., "0022"). Specifying the mode as a decimal integer (e.g., 22)
will also work, but an octal integer (e.g., 0022) will be converted to
decimal (18) before evaluation, which is almost certainly not what was
intended.
to specify desired umask mode as an octal string, (e.g., "0022").
Specifying the mode as a decimal integer (e.g., 22) will also work, but
an octal integer (e.g., 0022) will be converted to decimal (18) before
evaluation, which is almost certainly not what was intended.
version_added: "2.1"
notes:
- Please note that virtualenv (U(http://www.virtualenv.org/)) must be