summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaphaël Barrois <raphael.barrois@polytechnique.org>2012-05-22 01:33:05 +0200
committerRaphaël Barrois <raphael.barrois@polytechnique.org>2012-05-22 01:33:05 +0200
commit6598cfd789280d6322802d643171ecbf1d7fd70b (patch)
tree4d7d0b54170702e9e98a07ef7fbd8d09357b14fb
parent6335bbdc9f5eac3c4bc785a6412b678d7015e1af (diff)
downloadsemantic-version-6598cfd789280d6322802d643171ecbf1d7fd70b.tar.gz
Upgrade doc.
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
-rw-r--r--doc/reference.rst12
1 files changed, 6 insertions, 6 deletions
diff --git a/doc/reference.rst b/doc/reference.rst
index a173cb9..f3b9087 100644
--- a/doc/reference.rst
+++ b/doc/reference.rst
@@ -425,42 +425,42 @@ rules apply:
The kind of 'Less than' specifications::
- >>> Version('1.0.0-alpha') in SpecItem('<1.0.0')
+ >>> Version('1.0.0-alpha') in Spec('<1.0.0')
False
.. data:: KIND_LTE
The kind of 'Less or equal to' specifications::
- >>> Version('1.0.0-alpha1+build999') in SpecItem('<=1.0.0-alpha1')
+ >>> Version('1.0.0-alpha1+build999') in Spec('<=1.0.0-alpha1')
True
.. data:: KIND_EQUAL
The kind of 'equal to' specifications::
- >>> Version('1.0.0+build3.3') in SpecItem('==1.0.0')
+ >>> Version('1.0.0+build3.3') in Spec('==1.0.0')
True
.. data:: KIND_GTE
The kind of 'Greater or equal to' specifications::
- >>> Version('1.0.0') in SpecItem('>=1.0.0')
+ >>> Version('1.0.0') in Spec('>=1.0.0')
True
.. data:: KIND_GT
The kind of 'Greater than' specifications::
- >>> Version('1.0.0+build667') in SpecItem('>1.0.1')
+ >>> Version('1.0.0+build667') in Spec('>1.0.1')
False
.. data:: KIND_NEQ
The kind of 'Not equal to' specifications::
- >>> Version('1.0.1') in SpecItem('!=1.0.1')
+ >>> Version('1.0.1') in Spec('!=1.0.1')
False
The kind of 'Almost equal to' specifications