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

Class Left

Lib/test/test_compare.py:57–61  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

55 """object.__ne__() should allow reflected __ne__() to be tried"""
56 calls = []
57 class Left:
58 # Inherits object.__ne__()
59 def __eq__(*args):
60 calls.append('Left.__eq__')
61 return NotImplemented
62 class Right:
63 def __eq__(*args):
64 calls.append('Right.__eq__')

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…