def set_style(self, style):
        """ Sets the style to the specified Pygments style.
        """
        if isinstance(style, str):
            style = get_style_by_name(style)
        self._style = style
        self._clear_caches()
 Sets the style to the specified Pygments style.
        
angrmanagement/vendor/qtconsole/pygments_highlighter.py