[issue13801] The Python 3 Docs don't highlight nonlocal

Aug. 26, 2012
12:55 a.m.
Ezio Melotti added the comment: Sphinx is configured to use Python3Lexer (highlight_language is set to 'python3' in Doc/conf.py). '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). If this is fixed in more recent pygments versions, we only have to update our version. ---------- _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue13801> _______________________________________
4620
Age (days ago)
4620
Last active (days ago)
0 comments
1 participants
participants (1)
-
Ezio Melotti