parameters: (model, encoding, constraint)
docstring: Iterates throught all constrainsts in 'model' to sets all occurences of
          the class 'constraint' to use the encoding object 'encoding'.
docstring_summary: Iterates throught all constrainsts in 'model' to sets all occurences of
          the class 'constraint' to use the encoding object 'encoding'.
docstring_tokens: Iterates throught all constrainsts in model to sets all occurences of the class constraint to use the encoding object encoding .
function: def setencodings(model, encoding, constraint):
      """
          Iterates throught all constrainsts in 'model' to sets all occurences of
          the class 'constraint' to use the encoding object 'encoding'.
      """
      for c in model.constraints:
          if isinstance(c, constraint):
              c.encoding = encoding
function_tokens: def setencodings ( model , encoding , constraint ) : for c in model . constraints : if isinstance ( c , constraint ) : c . encoding = encoding