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