def scripts( self, mydict ):
        """Only useful in html, mydict is dictionary of src:type pairs will
        be rendered as <script type='text/type' src=src></script>"""

        if isinstance( mydict, dict ):
            for src, type in mydict.items( ):
                self.script( '', src=src, type=type % 'text/%s' )
        else:
            raise TypeError("Script should be given a dictionary of src:type pairs.")
dataset/ETHPy150Open cloudera/hue/desktop/core/ext-py/tablib-0.10.0/tablib/packages/markup3.py/page.scripts/swapped operands of `%`