Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/numpy/numpy
/ __ne__
Method
__ne__
numpy/_utils/_pep440.py:155–156 ·
view source on GitHub ↗
(self, other)
Source
from the content-addressed store, hash-verified
153
return
self._compare(other,
lambda
s, o: s > o)
154
155
def
__ne__(self, other):
156
return
self._compare(other,
lambda
s, o: s != o)
157
158
def
_compare(self, other, method):
159
if
not isinstance(other, _BaseVersion):
Callers
nothing calls this directly
Calls
1
_compare
Method · 0.95
Tested by
no test coverage detected