Code
Hub
Trending
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/python-pendulum/pendulum
/ __sub__
Method
__sub__
src/pendulum/time.py:171–171 ·
view source on GitHub ↗
(self, other: time)
Source
from the content-addressed store, hash-verified
169
170
@overload
171
def
__sub__(self, other: time) -> pendulum.Duration: ...
172
173
@overload
174
def
__sub__(self, other: datetime.timedelta) -> Time: ...
Callers
2
__rsub__
Method · 0.45
test_sub_unsupported
Function · 0.45
Calls
2
subtract_timedelta
Method · 0.95
diff
Method · 0.45
Tested by
1
test_sub_unsupported
Function · 0.36