(self, constraint)
Add a new type constraint.

        :param constraint:
        :return:
Add a new type constraint.
Add a new type constraint .
def add_type_constraint(self, constraint):
        """
        Add a new type constraint.

        :param constraint:
        :return:
        """

        self.type_constraints.add(constraint)
def add_type_constraint ( self , constraint ) : self . type_constraints . add ( constraint )