MCPcopy Index your code
hub / github.com/RustPython/RustPython / _NEVER_EQ

Class _NEVER_EQ

Lib/test/support/__init__.py:2178–2187  ·  view source on GitHub ↗

Object that is not equal to anything.

Source from the content-addressed store, hash-verified

2176ALWAYS_EQ = _ALWAYS_EQ()
2177
2178class _NEVER_EQ:
2179 """
2180 Object that is not equal to anything.
2181 """
2182 def __eq__(self, other):
2183 return False
2184 def __ne__(self, other):
2185 return True
2186 def __hash__(self):
2187 return 1
2188
2189NEVER_EQ = _NEVER_EQ()
2190

Callers 1

__init__.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected