summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThijs Damsma <tdamsma@gmail.com>2019-12-16 14:57:42 +0100
committerRaphaƫl Barrois <raphael.barrois@polytechnique.org>2019-12-21 15:49:17 +0100
commit25db2464933444f7d332edba94bcee48fa8c0793 (patch)
treeba61e348e4e14bee19ad75e730f6c38071d941f2
parent58550c0110d224231a7f36fe0f1c13df8dbbb87d (diff)
downloadsemantic-version-25db2464933444f7d332edba94bcee48fa8c0793.tar.gz
Update README.rst
resolves #87
-rw-r--r--README.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/README.rst b/README.rst
index ef824ea..40959c4 100644
--- a/README.rst
+++ b/README.rst
@@ -171,8 +171,8 @@ The :class:`SimpleSpec` object describes a range of accepted versions:
>>> s = SimpleSpec('>=0.1.1') # At least 0.1.1
>>> s.match(Version('0.1.1'))
True
- >>> s.match(Version('0.1.1-alpha1')) # pre-release satisfy version spec
- True
+ >>> s.match(Version('0.1.1-alpha1')) # pre-release doesn't satisfy version spec
+ False
>>> s.match(Version('0.1.0'))
False