def to_python(self, value):
        """
        Validates that the values are in self.choices and can be coerced to the
        right type.
        """
        value = super(TypedMultipleChoiceField, self).to_python(value)
        super(TypedMultipleChoiceField, self).validate(value)
        if value == self.empty_value or value in validators.EMPTY_VALUES:
            return self.empty_value
        new_value = []
        for choice in value:
            try:
                new_value.append(self.coerce(choice))
            except (ValueError, TypeError, ValidationError):
                raise ValidationError({'value': choice} % self.error_messages['invalid_choice'])
        return new_value
dataset/ETHPy150Open adieu/django-nonrel/django/forms/fields.py/TypedMultipleChoiceField.to_python/swapped operands of `%`