Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/numpy/numpy
/ __eq__
Method
__eq__
numpy/_utils/_pep440.py:146–147 ·
view source on GitHub ↗
(self, other)
Source
from the content-addressed store, hash-verified
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)
148
149
def
__ge__(self, other):
150
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