diff options
Diffstat (limited to 'sphinx/highlighting.py')
-rw-r--r-- | sphinx/highlighting.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sphinx/highlighting.py b/sphinx/highlighting.py index 4a737eb40..7716f2a12 100644 --- a/sphinx/highlighting.py +++ b/sphinx/highlighting.py @@ -120,6 +120,8 @@ class PygmentsBridge: lang = 'pycon' else: lang = 'python' + if lang == 'pycon3': + lang = 'pycon' if lang in lexers: # just return custom lexers here (without installing raiseonerror filter) |