We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 629b56f commit 5de87d4Copy full SHA for 5de87d4
1 file changed
pymeos/collections/time/datespan.py
@@ -470,9 +470,7 @@ def distance(self, other: TimeDate) -> timedelta:
470
elif isinstance(other, DateSet):
471
return self.distance(other.to_spanset())
472
elif isinstance(other, DateSpan):
473
- return timedelta(
474
- days=distance_datespan_datespan(self._inner, other._inner)
475
- )
+ return timedelta(days=distance_datespan_datespan(self._inner, other._inner))
476
elif isinstance(other, DateSpanSet):
477
return timedelta(
478
days=distance_datespanset_datespan(self._inner, other._inner)
0 commit comments