diff options
author | Raphaël Barrois <raphael.barrois@polytechnique.org> | 2014-03-16 20:33:43 +0100 |
---|---|---|
committer | Raphaël Barrois <raphael.barrois@polytechnique.org> | 2014-03-16 20:33:43 +0100 |
commit | 9e88ed992c989bd0e4bfd92a1dd1cbe176407d98 (patch) | |
tree | 4db869e3d2cc38511a5463139796b4426a27e45d /docs/reference.rst | |
parent | 5688677a89f6d8f0168290ca069e473c15b7617c (diff) | |
download | semantic-version-9e88ed992c989bd0e4bfd92a1dd1cbe176407d98.tar.gz |
Accept '*' as a Spec (Closes #8).
Spec('*') will match all valid Version objects.
Diffstat (limited to 'docs/reference.rst')
-rw-r--r-- | docs/reference.rst | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/reference.rst b/docs/reference.rst index 5b8ca3e..3550c25 100644 --- a/docs/reference.rst +++ b/docs/reference.rst @@ -270,6 +270,10 @@ This means that:: >>> Version('1.1.1-rc1+build4') in Spec('<=1.1.1-rc1+build2') False + +.. note:: python-semanticversion also accepts ``"*"`` as a version spec, + that matches all (valid) version strings. + In order to force matches to *strictly* compare version numbers, these additional rules apply: |