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

Class Right

Lib/test/test_compare.py:62–68  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

60 calls.append('Left.__eq__')
61 return NotImplemented
62 class Right:
63 def __eq__(*args):
64 calls.append('Right.__eq__')
65 return NotImplemented
66 def __ne__(*args):
67 calls.append('Right.__ne__')
68 return NotImplemented
69 Left() != Right()
70 self.assertSequenceEqual(calls, ['Left.__eq__', 'Right.__ne__'])
71

Callers 1

test_ne_high_priorityMethod · 0.70

Calls

no outgoing calls

Tested by 1

test_ne_high_priorityMethod · 0.56

Used in the wild real call sites across dependent graphs

searching dependent graphs…