Skip to content

Commit 384d70e

Browse files
committed
Fix small typo
Signed-off-by: Hritik Vijay <hritikxx8@gmail.com>
1 parent aa2253d commit 384d70e

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/univers/version_constraint.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ def validate(cls, constraints):
254254
def simplify(cls, constraints):
255255
"""
256256
Return a new simplified ``constraints`` list with duplicated constraints
257-
removed. This includes removing exact duplicates adn redundant
257+
removed. This includes removing exact duplicates and redundant
258258
constraints.
259259
"""
260260
constraints = deduplicate(constraints)

src/univers/version_range.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ class VersionRange:
3838
# PypiVersion. Subclasses MUST provide this.
3939
version_class = None
4040

41-
# A list of lists of VersionConstraint that are signposts on the versions
41+
# A tuple of VersionConstraint that are signposts on the versions
4242
# timeline
4343
constraints = attr.ib(type=tuple, default=attr.Factory(tuple))
4444

0 commit comments

Comments
 (0)