summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
Diffstat (limited to 'README')
-rw-r--r--README3
1 files changed, 1 insertions, 2 deletions
diff --git a/README b/README
index 196649e..38c5196 100644
--- a/README
+++ b/README
@@ -40,8 +40,7 @@ Define a simple specification::
Define complex specifications::
- >>> from semantic_version import SpecList
- >>> s = SpecList('>=0.1.1,<0.2.0')
+ >>> s = Spec('>=0.1.1,<0.2.0')
>>> Version('0.1.2') in s
True
>>> Version('0.3.0') in s