@@ -47,10 +47,10 @@ implement, as the same code will handle both cases:
47
47
False
48
48
49
49
50
- Using the :class: `Spec < semver.spec.Spec> ` class
50
+ Using the :class: `~ semver.spec.Spec ` class
51
51
------------------------------------------------
52
52
53
- The :class: `Spec < semver.spec.Spec> ` class is the underlying object
53
+ The :class: `~ semver.spec.Spec ` class is the underlying object
54
54
which makes comparison possible.
55
55
56
56
It supports comparisons through usual Python operators:
@@ -62,7 +62,7 @@ It supports comparisons through usual Python operators:
62
62
>> > Spec(" 1.3" ) == ' 1.3.10'
63
63
False
64
64
65
- If you need to reuse a ``Spec `` object, use the :meth: `match < semver.spec.Spec.match> ` method:
65
+ If you need to reuse a ``Spec `` object, use the :meth: `~ semver.spec.Spec.match ` method:
66
66
67
67
.. code-block :: python
68
68
@@ -106,9 +106,9 @@ as in the following examples:
106
106
Using caret expressions
107
107
-----------------------
108
108
109
- Care expressions are "compatible with a version".
109
+ Caret expressions are "compatible with a version".
110
110
They are expressions like ``^1 ``, ``^1.2 ``, or ``^1.2.3 ``.
111
- Care expressions freezes the major number only.
111
+ Caret expressions freezes the major number only.
112
112
113
113
Internally they are converted into two comparisons:
114
114
@@ -124,7 +124,7 @@ Internally they are converted into two comparisons:
124
124
>> > version.match(" ^1.3" )
125
125
False
126
126
127
- It is possible to add placeholders to the care expression. Placeholders
127
+ It is possible to add placeholders to the caret expression. Placeholders
128
128
are ``x ``, ``X ``, or ``* `` and are replaced by zeros like in the following examples:
129
129
130
130
.. code-block :: python
0 commit comments