Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 6406370

Browse files
committed
Highlight snippets as Python 3.
1 parent 54a1cc6 commit 6406370

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

Doc/conf.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,9 @@
6363
# unit titles (such as .. function::).
6464
add_module_names = True
6565

66+
# By default, highlight as Python 3.
67+
highlight_language = 'python3'
68+
6669

6770
# Options for HTML output
6871
# -----------------------

0 commit comments

Comments
 (0)