Commit bda9386d authored by Jason R. Coombs's avatar Jason R. Coombs Committed by GitHub

Merge pull request #1278 from vphilippon/fix-doc-version-spec-inconsistencies

Fix documentation inconsistency on version specifier
parents 271dee89 0d997291
...@@ -638,7 +638,7 @@ Requirements Parsing ...@@ -638,7 +638,7 @@ Requirements Parsing
sorted into ascending version order, and used to establish what ranges of sorted into ascending version order, and used to establish what ranges of
versions are acceptable. Adjacent redundant conditions are effectively versions are acceptable. Adjacent redundant conditions are effectively
consolidated (e.g. ``">1, >2"`` produces the same results as ``">2"``, and consolidated (e.g. ``">1, >2"`` produces the same results as ``">2"``, and
``"<2,<3"`` produces the same results as``"<2"``). ``"!="`` versions are ``"<2,<3"`` produces the same results as ``"<2"``). ``"!="`` versions are
excised from the ranges they fall within. The version being tested for excised from the ranges they fall within. The version being tested for
acceptability is then checked for membership in the resulting ranges. acceptability is then checked for membership in the resulting ranges.
......
...@@ -571,7 +571,7 @@ project name or version identifier must be replaced with ``-``. ...@@ -571,7 +571,7 @@ project name or version identifier must be replaced with ``-``.
Version specifiers for a given project are internally sorted into ascending Version specifiers for a given project are internally sorted into ascending
version order, and used to establish what ranges of versions are acceptable. version order, and used to establish what ranges of versions are acceptable.
Adjacent redundant conditions are also consolidated (e.g. ``">1, >2"`` becomes Adjacent redundant conditions are also consolidated (e.g. ``">1, >2"`` becomes
``">1"``, and ``"<2,<3"`` becomes ``"<3"``). ``"!="`` versions are excised from ``">2"``, and ``"<2,<3"`` becomes ``"<2"``). ``"!="`` versions are excised from
the ranges they fall within. A project's version is then checked for the ranges they fall within. A project's version is then checked for
membership in the resulting ranges. (Note that providing conflicting conditions membership in the resulting ranges. (Note that providing conflicting conditions
for the same version (e.g. "<2,>=2" or "==2,!=2") is meaningless and may for the same version (e.g. "<2,>=2" or "==2,!=2") is meaningless and may
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment