def __eq__(self, other):
    return (super().__eq__(other) and (self.order == other.order) and (self.knots == other.knots))
def __eq__(self, other):
    return (super().__eq__(other) and (self.order == other.order) and (self.knots == other.knots))