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

Method __le__

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

Source from the content-addressed store, hash-verified

2223 return NotImplemented
2224
2225 def __le__(self, other):
2226 if isinstance(other, datetime):
2227 return self._cmp(other) <= 0
2228 else:
2229 return NotImplemented
2230
2231 def __lt__(self, other):
2232 if isinstance(other, datetime):

Callers

nothing calls this directly

Calls 2

_cmpMethod · 0.95
isinstanceFunction · 0.85

Tested by

no test coverage detected