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

Method __eq__

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

Source from the content-addressed store, hash-verified

100 __hash__ = None
101
102 def __eq__(self, other):
103 a = _split_and_sort(self.string)
104 b = _split_and_sort(other)
105 if a == b:
106 return True
107 self.explanation = _make_explanation(a, b)
108 return False
109
110
111class Capture:

Callers

nothing calls this directly

Calls 2

_split_and_sortFunction · 0.85
_make_explanationFunction · 0.85

Tested by

no test coverage detected