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

Method __eq__

Lib/test/test_binop.py:347–349  ·  view source on GitHub ↗
(self, other)

Source from the content-addressed store, hash-verified

345
346class C(B):
347 def __eq__(self, other):
348 self.log_operation('C.__eq__')
349 return NotImplemented
350 def __le__(self, other):
351 self.log_operation('C.__le__')
352 return NotImplemented

Callers

nothing calls this directly

Calls 1

log_operationMethod · 0.80

Tested by

no test coverage detected