MCPcopy Index your code
hub / github.com/RustPython/RustPython / __gt__

Method __gt__

Lib/_pydatetime.py:2243–2247  ·  view source on GitHub ↗
(self, other)

Source from the content-addressed store, hash-verified

2241 return NotImplemented
2242
2243 def __gt__(self, other):
2244 if isinstance(other, datetime):
2245 return self._cmp(other) > 0
2246 else:
2247 return NotImplemented
2248
2249 def _cmp(self, other, allow_mixed=False):
2250 assert isinstance(other, datetime)

Callers

nothing calls this directly

Calls 2

_cmpMethod · 0.95
isinstanceFunction · 0.85

Tested by

no test coverage detected