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

Method __le__

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

Source from the content-addressed store, hash-verified

906 return NotImplemented
907
908 def __le__(self, other):
909 if isinstance(other, timedelta):
910 return self._cmp(other) <= 0
911 else:
912 return NotImplemented
913
914 def __lt__(self, other):
915 if isinstance(other, timedelta):

Callers

nothing calls this directly

Calls 1

_cmpMethod · 0.95

Tested by

no test coverage detected