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

Method __le__

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

Source from the content-addressed store, hash-verified

2266 return NotImplemented
2267
2268 def __le__(self, other):
2269 if isinstance(other, datetime):
2270 return self._cmp(other) <= 0
2271 else:
2272 return NotImplemented
2273
2274 def __lt__(self, other):
2275 if isinstance(other, datetime):

Callers

nothing calls this directly

Calls 1

_cmpMethod · 0.95

Tested by

no test coverage detected