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

Method __lt__

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

Source from the content-addressed store, hash-verified

1195 return NotImplemented
1196
1197 def __lt__(self, other):
1198 if isinstance(other, date) and not isinstance(other, datetime):
1199 return self._cmp(other) < 0
1200 return NotImplemented
1201
1202 def __ge__(self, other):
1203 if isinstance(other, date) and not isinstance(other, datetime):

Callers

nothing calls this directly

Calls 1

_cmpMethod · 0.95

Tested by

no test coverage detected