MCPcopy Index your code
hub / github.com/python/cpython / __gt__

Method __gt__

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

Source from the content-addressed store, hash-verified

2284 return NotImplemented
2285
2286 def __gt__(self, other):
2287 if isinstance(other, datetime):
2288 return self._cmp(other) > 0
2289 else:
2290 return NotImplemented
2291
2292 def _cmp(self, other, allow_mixed=False):
2293 assert isinstance(other, datetime)

Callers

nothing calls this directly

Calls 1

_cmpMethod · 0.95

Tested by

no test coverage detected