Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ __ne__
Method
__ne__
Lib/test/test_richcmp.py:22–23 ·
view source on GitHub ↗
(self, other)
Source
from the content-addressed store, hash-verified
20
return
self.x == other
21
22
def
__ne__(self, other):
23
return
self.x != other
24
25
def
__gt__(self, other):
26
return
self.x > other
Callers
7
test_equality_returns_notimplemented
Method · 0.45
test_date_datetime_comparison
Method · 0.45
test___ne__
Method · 0.45
test_richcompare
Method · 0.45
check
Method · 0.45
test_foreign_type_equality
Method · 0.45
test_memoryview_compare_ndim_zero
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected