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

Method __eq__

eos/eqBase.py:24–25  ·  view source on GitHub ↗
(self, other)

Source from the content-addressed store, hash-verified

22 ID = None
23
24 def __eq__(self, other):
25 return type(self) == type(other) and self.ID == other.ID
26
27 def __ne__(self, other):
28 return type(self) != type(other) or self.ID != other.ID

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected