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

Method __lt__

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

Source from the content-addressed store, hash-verified

2229 return NotImplemented
2230
2231 def __lt__(self, other):
2232 if isinstance(other, datetime):
2233 return self._cmp(other) < 0
2234 else:
2235 return NotImplemented
2236
2237 def __ge__(self, other):
2238 if isinstance(other, datetime):

Callers

nothing calls this directly

Calls 2

_cmpMethod · 0.95
isinstanceFunction · 0.85

Tested by

no test coverage detected