Skip to content

Commit 17eaaef

Browse files
committed
Fix type hint for versions._prep_for_eq
1 parent 7b18678 commit 17eaaef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

domdf_python_tools/versions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ def _iter_float(version_float: float) -> Generator[int, None, None]:
221221
return _iter_string(str(version_float))
222222

223223

224-
def _prep_for_eq(other: Union[str, float, Version], ) -> Union[Tuple[int, ...], NotImplemented]:
224+
def _prep_for_eq(other: Union[str, float, Version], ) -> Tuple[int, ...]:
225225
"""
226226
Prepare 'other' for use in ``__eq__``, ``__le__``, ``__ge__``, ``__gt__``, and ``__lt__``.
227227
"""

0 commit comments

Comments
 (0)