Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/numpy/numpy
/ __le__
Method
__le__
numpy/_utils/_pep440.py:143–144 ·
view source on GitHub ↗
(self, other)
Source
from the content-addressed store, hash-verified
141
return
self._compare(other,
lambda
s, o: s < o)
142
143
def
__le__(self, other):
144
return
self._compare(other,
lambda
s, o: s <= o)
145
146
def
__eq__(self, other):
147
return
self._compare(other,
lambda
s, o: s == o)
Callers
nothing calls this directly
Calls
1
_compare
Method · 0.95
Tested by
no test coverage detected