[docs] [issue14503] docs:Code not highlighted

Amaury Forgeot d'Arc report at bugs.python.org
Thu Apr 5 16:32:18 CEST 2012

Amaury Forgeot d'Arc <amauryfa at gmail.com> added the comment:

Not exactly. Sphinx first tries to see if the block is a Python script, and to do so it uses the Python compiler:
In case of SyntaxError, it treats the whole block as plain text and does not try to use pygmentq at all.


Python tracker <report at bugs.python.org>

More information about the docs mailing list