Skip to content

Commit

Permalink
Fix SimpleSpec doc in README.rst.
Browse files Browse the repository at this point in the history
As caught by Emilio Reyes.

Closes #103.
  • Loading branch information
rbarrois committed Jul 8, 2020
1 parent 7ccc724 commit 88b077b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -181,8 +181,10 @@ Simpler test syntax is also available using the ``in`` keyword:
.. code-block:: pycon
>>> s = SimpleSpec('==0.1.1')
>>> Version('0.1.1-alpha1') in s
>>> Version('0.1.1+git7ccc72') in s # build variants are equivalent to full versions
True
>>> Version('0.1.1-alpha1') in s # pre-release variants don't match the full version.
False
>>> Version('0.1.2') in s
False
Expand Down

0 comments on commit 88b077b

Please sign in to comment.