MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / __gt__

Method __gt__

tools/python-3.11.9-amd64/Lib/datetime.py:2132–2138  ·  view source on GitHub ↗
(self, other)

Source from the content-addressed store, hash-verified

2130 _cmperror(self, other)
2131
2132 def __gt__(self, other):
2133 if isinstance(other, datetime):
2134 return self._cmp(other) > 0
2135 elif not isinstance(other, date):
2136 return NotImplemented
2137 else:
2138 _cmperror(self, other)
2139
2140 def _cmp(self, other, allow_mixed=False):
2141 assert isinstance(other, datetime)

Callers

nothing calls this directly

Calls 2

_cmpMethod · 0.95
_cmperrorFunction · 0.85

Tested by

no test coverage detected