def __eq__(self, other):
        return (isinstance(other, self.__class__) and
                self.c == other.c and
                self.u == other.u and
                self.v == other.v)
Define  value oriented equality, which is useful for testers
dataset/ETHPy150Open sympy/sympy/sympy/utilities/enumerative.py/PartComponent.__eq__