From: Georg Brandl Date: Tue, 9 Sep 2008 19:10:58 +0000 (+0000) Subject: Highlight snippets as Python 3. X-Git-Tag: v3.0rc1~45 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=64063706aac7d8937f088b7bd9123a52e5cd98b6;p=python Highlight snippets as Python 3. --- diff --git a/Doc/conf.py b/Doc/conf.py index 0cfbea60bf..2be0f19c6d 100644 --- a/Doc/conf.py +++ b/Doc/conf.py @@ -63,6 +63,9 @@ add_function_parentheses = True # unit titles (such as .. function::). add_module_names = True +# By default, highlight as Python 3. +highlight_language = 'python3' + # Options for HTML output # -----------------------