MCPcopy Create free account
hub / github.com/pybind/pybind11 / __eq__

Method __eq__

tests/conftest.py:126–132  ·  view source on GitHub ↗
(self, other)

Source from the content-addressed store, hash-verified

124 __hash__ = None
125
126 def __eq__(self, other):
127 a = Output(self.out)
128 b = other
129 if a == b:
130 return True
131 self.explanation = a.explanation
132 return False
133
134 def __str__(self):
135 return self.out

Callers

nothing calls this directly

Calls 1

OutputClass · 0.85

Tested by

no test coverage detected