Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions pymeos/collections/time/datespan.py
Original file line number Diff line number Diff line change
Expand Up @@ -470,9 +470,7 @@ def distance(self, other: TimeDate) -> timedelta:
elif isinstance(other, DateSet):
return self.distance(other.to_spanset())
elif isinstance(other, DateSpan):
return timedelta(
days=distance_datespan_datespan(self._inner, other._inner)
)
return timedelta(days=distance_datespan_datespan(self._inner, other._inner))
elif isinstance(other, DateSpanSet):
return timedelta(
days=distance_datespanset_datespan(self._inner, other._inner)
Expand Down
Loading