def validate(self, value):
        super(Tuple, self).validate(value)

        if value is not None:
            if not (isinstance(value, (tuple, list)) and len(self.type_params) == len(value) and \
                    all(type_param.is_valid(item) for type_param, item in zip(self.type_params, value))):
                raise ValueError((self, value) % "expected an element of %s, got %r")
dataset/ETHPy150Open bokeh/bokeh/bokeh/core/properties.py/Tuple.validate/swapped operands of `%`