From 64063706aac7d8937f088b7bd9123a52e5cd98b6 Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Tue, 9 Sep 2008 19:10:58 +0000 Subject: [PATCH] Highlight snippets as Python 3. --- Doc/conf.py | 3 +++ 1 file changed, 3 insertions(+) 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 # ----------------------- -- 2.40.0