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

Method __gt__

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

Source from the content-addressed store, hash-verified

858 return NotImplemented
859
860 def __gt__(self, other):
861 if isinstance(other, timedelta):
862 return self._cmp(other) > 0
863 else:
864 return NotImplemented
865
866 def _cmp(self, other):
867 assert isinstance(other, timedelta)

Callers

nothing calls this directly

Calls 1

_cmpMethod · 0.95

Tested by

no test coverage detected