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