summaryrefslogtreecommitdiff
path: root/Doc/conf.py
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2008-09-09 19:10:58 +0000
committerGeorg Brandl <georg@python.org>2008-09-09 19:10:58 +0000
commit64063706aac7d8937f088b7bd9123a52e5cd98b6 (patch)
tree53ba3028e7f574d27265a36720250b18243d28e1 /Doc/conf.py
parent54a1cc68a1e9eb81c8336634e51ae5736472e85b (diff)
downloadcpython-git-64063706aac7d8937f088b7bd9123a52e5cd98b6.tar.gz
Highlight snippets as Python 3.
Diffstat (limited to 'Doc/conf.py')
-rw-r--r--Doc/conf.py3
1 files changed, 3 insertions, 0 deletions
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
# -----------------------