MCPcopy Index your code
hub / github.com/python/cpython / _NEVER_EQ

Class _NEVER_EQ

Lib/test/support/__init__.py:2248–2257  ·  view source on GitHub ↗

Object that is not equal to anything.

Source from the content-addressed store, hash-verified

2246ALWAYS_EQ = _ALWAYS_EQ()
2247
2248class _NEVER_EQ:
2249 """
2250 Object that is not equal to anything.
2251 """
2252 def __eq__(self, other):
2253 return False
2254 def __ne__(self, other):
2255 return True
2256 def __hash__(self):
2257 return 1
2258
2259NEVER_EQ = _NEVER_EQ()
2260

Callers 1

__init__.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…