summaryrefslogtreecommitdiffstats
path: root/Doc/tools
diff options
context:
space:
mode:
authorMartin Panter <vadmium+py@gmail.com>2017-01-29 23:33:13 (GMT)
committerMartin Panter <vadmium+py@gmail.com>2017-01-29 23:33:13 (GMT)
commit9a454021a4360f0036c9f24c5ccde39900fc1f23 (patch)
treeae2b5fa83857b3ef0d6fe13a0e227403f282f01c /Doc/tools
parent8f3fb723091ced7ffd4f703f2480f044db5c8bc4 (diff)
downloadcpython-9a454021a4360f0036c9f24c5ccde39900fc1f23.zip
cpython-9a454021a4360f0036c9f24c5ccde39900fc1f23.tar.gz
cpython-9a454021a4360f0036c9f24c5ccde39900fc1f23.tar.bz2
Issue #29349: Use __future__ print_function; Sphinx may use Python 2.6+
Diffstat (limited to 'Doc/tools')
-rw-r--r--Doc/tools/extensions/patchlevel.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Doc/tools/extensions/patchlevel.py b/Doc/tools/extensions/patchlevel.py
index 9558b9c..919ba4a 100644
--- a/Doc/tools/extensions/patchlevel.py
+++ b/Doc/tools/extensions/patchlevel.py
@@ -10,6 +10,8 @@
:license: Python license.
"""
+from __future__ import print_function
+
import os
import re
import sys