From 88b077b1cc19a4754ef004ff0ca07c3d2bb8ef19 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Barrois?= Date: Wed, 8 Jul 2020 14:04:12 +0200 Subject: Fix SimpleSpec doc in README.rst. As caught by Emilio Reyes. Closes #103. --- README.rst | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.rst b/README.rst index 40959c4..1cb21e5 100644 --- a/README.rst +++ b/README.rst @@ -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 -- cgit v1.2.1