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

Class BadCmp

Lib/test/test_slice.py:107–109  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

105 pass
106
107 class BadCmp(object):
108 def __eq__(self, other):
109 raise Exc
110
111 s1 = slice(BadCmp())
112 s2 = slice(BadCmp())

Callers 1

test_cmpMethod · 0.70

Calls

no outgoing calls

Tested by 1

test_cmpMethod · 0.56

Used in the wild real call sites across dependent graphs

searching dependent graphs…