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

Method __le__

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

Source from the content-addressed store, hash-verified

1493 return NotImplemented
1494
1495 def __le__(self, other):
1496 if isinstance(other, time):
1497 return self._cmp(other) <= 0
1498 else:
1499 return NotImplemented
1500
1501 def __lt__(self, other):
1502 if isinstance(other, time):

Callers

nothing calls this directly

Calls 2

_cmpMethod · 0.95
isinstanceFunction · 0.85

Tested by

no test coverage detected