@classmethod<EOL><INDENT>def _factory(cls, constraints, op):<DEDENT>
pieces = []<EOL>for i, constraint in enumerate(constraints):<EOL><INDENT>pieces.append(constraint)<EOL>if i != len(constraints) - <NUM_LIT:1>:<EOL><INDENT>pieces.append(op)<EOL><DEDENT><DEDENT>return cls(pieces)<EOL>
Factory for joining constraints with a single conjunction