MCPcopy Create free account
hub / github.com/pyfa-org/Pyfa / __eq__

Method __eq__

graphs/data/base/defs.py:45–52  ·  view source on GitHub ↗
(self, other)

Source from the content-addressed store, hash-verified

43 return hash((self.handle, self.unit, self.label, self._selectorLabel))
44
45 def __eq__(self, other):
46 if not isinstance(other, YDef):
47 return False
48 return all((
49 self.handle == other.handle,
50 self.unit == other.unit,
51 self.label == other.label,
52 self._selectorLabel == other._selectorLabel))
53
54
55class XDef:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected