Skip to content

Commit 54facef

Browse files
committed
Fix doctest
Signed-off-by: Tushar Goel <tushar.goel.dav@gmail.com>
1 parent 4d32ece commit 54facef

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/univers/version_range.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ def invert(self):
178178
"""
179179
Return the inverse of this VersionRange. For example, if this range is
180180
">=1.0.0", the inverse is "<1.0.0".
181-
>>> VersionRange.from_string("vers:npm/>=1.0.0").inverse()
181+
>>> VersionRange.from_string("vers:npm/>=1.0.0").invert()
182182
NpmVersionRange(constraints=(VersionConstraint(comparator='<', version=SemverVersion(string='1.0.0')),))
183183
"""
184184
inverted_constraints = []

0 commit comments

Comments
 (0)