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

Method __eq__

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

Source from the content-addressed store, hash-verified

323
324class A(OperationLogger):
325 def __eq__(self, other):
326 self.log_operation('A.__eq__')
327 return NotImplemented
328 def __le__(self, other):
329 self.log_operation('A.__le__')
330 return NotImplemented

Calls 1

log_operationMethod · 0.80

Tested by

no test coverage detected