MCPcopy Index your code
hub / github.com/python-pendulum/pendulum / __mod__

Method __mod__

src/pendulum/interval.py:355–356  ·  view source on GitHub ↗
(self, other: timedelta)

Source from the content-addressed store, hash-verified

353 return self.as_duration().__truediv__(other)
354
355 def __mod__(self, other: timedelta) -> Duration: # type: ignore[override]
356 return self.as_duration().__mod__(other)
357
358 def __divmod__(self, other: timedelta) -> tuple[int, Duration]:
359 return self.as_duration().__divmod__(other)

Callers

nothing calls this directly

Calls 1

as_durationMethod · 0.95

Tested by

no test coverage detected