from Constraint import Constraint class EqualConstraint(Constraint): def __init__(self, shape1, attr1, shape2, attr2): self.shape1 = shape1 self.shape2 = shape2 self.attr1 = attr1 self.attr2 = attr2