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

Method __gt__

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

Source from the content-addressed store, hash-verified

1205 return NotImplemented
1206
1207 def __gt__(self, other):
1208 if isinstance(other, date) and not isinstance(other, datetime):
1209 return self._cmp(other) > 0
1210 return NotImplemented
1211
1212 def _cmp(self, other):
1213 assert isinstance(other, date)

Callers

nothing calls this directly

Calls 1

_cmpMethod · 0.95

Tested by

no test coverage detected