[Python-checkins] cpython (merge 3.5 -> default): Merge from 3.5
senthil.kumaran
python-checkins at python.org
Sun Jan 17 21:42:57 EST 2016
https://hg.python.org/cpython/rev/18ae23b69e08
changeset: 99952:18ae23b69e08
parent: 99949:df78978dacab
parent: 99951:31debd0dc0dc
user: Senthil Kumaran <senthil at uthcode.com>
date: Sun Jan 17 18:42:50 2016 -0800
summary:
Merge from 3.5
Issue26017 - Suggest enclosing command args in double quotes when using characters which get interpreted by shell.
files:
Doc/installing/index.rst | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/Doc/installing/index.rst b/Doc/installing/index.rst
--- a/Doc/installing/index.rst
+++ b/Doc/installing/index.rst
@@ -84,10 +84,12 @@
Python.
It's also possible to specify an exact or minimum version directly on the
-command line::
+command line. When using comparator operators such as ``>``, ``<`` or some other
+special character which get interpreted by shell, the package name and the
+version should be enclosed within double quotes::
python -m pip install SomePackage==1.0.4 # specific version
- python -m pip install 'SomePackage>=1.0.4' # minimum version
+ python -m pip install "SomePackage>=1.0.4" # minimum version
Normally, if a suitable module is already installed, attempting to install
it again will have no effect. Upgrading existing modules must be requested
--
Repository URL: https://hg.python.org/cpython
More information about the Python-checkins
mailing list