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

Method __hash__

graphs/data/base/defs.py:42–43  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

40 return self.label
41
42 def __hash__(self):
43 return hash((self.handle, self.unit, self.label, self._selectorLabel))
44
45 def __eq__(self, other):
46 if not isinstance(other, YDef):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected