Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ __gt__
Method
__gt__
Lib/_pydatetime.py:926–930 ·
view source on GitHub ↗
(self, other)
Source
from the content-addressed store, hash-verified
924
return
NotImplemented
925
926
def
__gt__(self, other):
927
if
isinstance(other, timedelta):
928
return
self._cmp(other) > 0
929
else
:
930
return
NotImplemented
931
932
def
_cmp(self, other):
933
assert isinstance(other, timedelta)
Callers
nothing calls this directly
Calls
1
_cmp
Method · 0.95
Tested by
no test coverage detected