Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ __eq__
Method
__eq__
Lib/test/mapping_tests.py:651–652 ·
view source on GitHub ↗
(self, other)
Source
from the content-addressed store, hash-verified
649
650
class
BadCmp(object):
651
def
__eq__(self, other):
652
raise
Exc()
653
def
__hash__(self):
654
return
1
655
Callers
nothing calls this directly
Calls
1
Exc
Class · 0.70
Tested by
no test coverage detected