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

Method __le__

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

Source from the content-addressed store, hash-verified

1513 return NotImplemented
1514
1515 def __le__(self, other):
1516 if isinstance(other, time):
1517 return self._cmp(other) <= 0
1518 else:
1519 return NotImplemented
1520
1521 def __lt__(self, other):
1522 if isinstance(other, time):

Callers

nothing calls this directly

Calls 1

_cmpMethod · 0.95

Tested by

no test coverage detected