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

Method __gt__

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

Source from the content-addressed store, hash-verified

1118 return NotImplemented
1119
1120 def __gt__(self, other):
1121 if isinstance(other, date):
1122 return self._cmp(other) > 0
1123 return NotImplemented
1124
1125 def _cmp(self, other):
1126 assert isinstance(other, date)

Callers

nothing calls this directly

Calls 1

_cmpMethod · 0.95

Tested by

no test coverage detected