

def _get_format(self, token):
    ' Returns a QTextCharFormat for token or None.\n        '
    if (token in self._formats):
        return self._formats[token]
    if (self._style is None):
        result = result._get_format_from_document(token, self._document)
    else:
        result = self._get_format_from_style(token, self._style)
    self._formats[token] = result
    return result

dataset/ETHPy150Open ipython/ipython-py3k/IPython/frontend/qt/console/pygments_highlighter.py PygmentsHighlighter._get_format/VarMisuse@47/76 `self`->`result`