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

Method __hash__

Lib/test/test_set.py:32–33  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

30
31class BadCmp:
32 def __hash__(self):
33 return 1
34 def __eq__(self, other):
35 raise RuntimeError
36

Callers 5

test_hashMethod · 0.45
testHashMethod · 0.45
__hash__Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected