Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RT-Thread/env-windows
/ __le__
Method
__le__
tools/python-3.11.9-amd64/Lib/datetime.py:842–846 ·
view source on GitHub ↗
(self, other)
Source
from the content-addressed store, hash-verified
840
return
NotImplemented
841
842
def
__le__(self, other):
843
if
isinstance(other, timedelta):
844
return
self._cmp(other) <= 0
845
else
:
846
return
NotImplemented
847
848
def
__lt__(self, other):
849
if
isinstance(other, timedelta):
Callers
nothing calls this directly
Calls
1
_cmp
Method · 0.95
Tested by
no test coverage detected