Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/numpy/numpy
/ __lt__
Method
__lt__
numpy/_utils/_pep440.py:140–141 ·
view source on GitHub ↗
(self, other)
Source
from the content-addressed store, hash-verified
138
return
hash(self._key)
139
140
def
__lt__(self, other):
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)
Callers
nothing calls this directly
Calls
1
_compare
Method · 0.95
Tested by
no test coverage detected