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

Method __sub__

src/pendulum/date.py:260–260  ·  view source on GitHub ↗
(self, __delta: timedelta)

Source from the content-addressed store, hash-verified

258
259 @overload # type: ignore[override] # this is only needed because of Python 3.7
260 def __sub__(self, __delta: timedelta) -> Self: ...
261
262 @overload
263 def __sub__(self, __dt: datetime) -> NoReturn: ...

Callers

nothing calls this directly

Calls 2

_subtract_timedeltaMethod · 0.95
diffMethod · 0.45

Tested by

no test coverage detected