diff options
author | Raphaël Barrois <raphael.barrois@polytechnique.org> | 2020-07-08 14:04:12 +0200 |
---|---|---|
committer | Raphaël Barrois <raphael.barrois@polytechnique.org> | 2020-07-08 14:04:12 +0200 |
commit | 88b077b1cc19a4754ef004ff0ca07c3d2bb8ef19 (patch) | |
tree | ca5ab2f6b3beeb166f4d2982a3489dd6a25a264b | |
parent | 7ccc7244103d84e228f23b0bffa225c2d2f3d295 (diff) | |
download | semantic-version-88b077b1cc19a4754ef004ff0ca07c3d2bb8ef19.tar.gz |
Fix SimpleSpec doc in README.rst.
As caught by Emilio Reyes.
Closes #103.
-rw-r--r-- | README.rst | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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 |