MCPcopy Index your code
hub / github.com/python/cpython / __lt__

Method __lt__

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

Source from the content-addressed store, hash-verified

2272 return NotImplemented
2273
2274 def __lt__(self, other):
2275 if isinstance(other, datetime):
2276 return self._cmp(other) < 0
2277 else:
2278 return NotImplemented
2279
2280 def __ge__(self, other):
2281 if isinstance(other, datetime):

Callers

nothing calls this directly

Calls 1

_cmpMethod · 0.95

Tested by

no test coverage detected