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

Method __mul__

src/pendulum/interval.py:330–331  ·  view source on GitHub ↗
(self, other: int | float)

Source from the content-addressed store, hash-verified

328 return self.__class__(self.end, self.start, self._absolute)
329
330 def __mul__(self, other: int | float) -> Duration: # type: ignore[override]
331 return self.as_duration().__mul__(other)
332
333 __rmul__ = __mul__ # type: ignore[assignment]
334

Callers

nothing calls this directly

Calls 1

as_durationMethod · 0.95

Tested by

no test coverage detected