Berker Peksag added the comment: > 'nonlocal' is not highlighted because in the pygments version that we are > using 'nonlocal' is missing in Python3Lexer.tokens['keywords'] see > (Doc/tools/pygments/lexers/agile.py:196).
The nonlocal keyword has been added in Pygments 1.5. https://bitbucket.org/birkenfeld/pygments-main/src/972a251fa742/pygments/lexers/agile.py#cl-202 ---------- nosy: +berker.peksag _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue13801> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com