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

Method __add__

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

Source from the content-addressed store, hash-verified

317 return self.start <= item <= self.end
318
319 def __add__(self, other: timedelta) -> Duration: # type: ignore[override]
320 return self.as_duration().__add__(other)
321
322 __radd__ = __add__ # type: ignore[assignment]
323

Callers

nothing calls this directly

Calls 1

as_durationMethod · 0.95

Tested by

no test coverage detected