def redirect(self, uri):
        """Redirects the browser to the given URI.

        Example::

            obj_response.redirect('http://example.com/')

        """
        return self.script(self.dumps(uri) % 'window.location = %s;')
dataset/ETHPy150Open spantaleev/sijax-python/sijax/response/base.py/BaseResponse.redirect/swapped operands of `%`