MCPcopy Index your code
hub / github.com/RustPython/RustPython / __lt__

Method __lt__

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

Source from the content-addressed store, hash-verified

1499 return NotImplemented
1500
1501 def __lt__(self, other):
1502 if isinstance(other, time):
1503 return self._cmp(other) < 0
1504 else:
1505 return NotImplemented
1506
1507 def __ge__(self, other):
1508 if isinstance(other, time):

Callers

nothing calls this directly

Calls 2

_cmpMethod · 0.95
isinstanceFunction · 0.85

Tested by

no test coverage detected