Skip to content

Commit f5e4ee1

Browse files
authored
Merge pull request #12587 from matthewfeickert/docs/clarify-language-on-index-priority
DOC: Clarify lack of index priority
2 parents 52d7296 + 4b99130 commit f5e4ee1

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

docs/html/cli/pip_install.rst

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -212,11 +212,12 @@ and `there <https://www.python.org/dev/peps/pep-0503/>`_.
212212
pip offers a number of package index options for modifying how packages are
213213
found.
214214

215-
pip looks for packages in a number of places: on PyPI (if not disabled via
216-
``--no-index``), in the local filesystem, and in any additional repositories
217-
specified via ``--find-links`` or ``--index-url``. There is no ordering in
218-
the locations that are searched. Rather they are all checked, and the "best"
219-
match for the requirements (in terms of version number - see the
215+
pip looks for packages in a number of places: on PyPI (or the index given as
216+
``--index-url``, if not disabled via ``--no-index``), in the local filesystem,
217+
and in any additional repositories specified via ``--find-links`` or
218+
``--extra-index-url``. There is no priority in the locations that are searched.
219+
Rather they are all checked, and the "best" match for the requirements (in
220+
terms of version number - see the
220221
:ref:`specification <pypug:version-specifiers>` for details) is selected.
221222

222223
See the :ref:`pip install Examples<pip install Examples>`.

news/91d23d4d-a9cc-442f-a569-c46e0bdc3e64.trivial.rst

Whitespace-only changes.

0 commit comments

Comments
 (0)