summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorMartin Panter <vadmium+py@gmail.com>2017-01-29 23:34:52 (GMT)
committerMartin Panter <vadmium+py@gmail.com>2017-01-29 23:34:52 (GMT)
commitb154113251b03c8dedd69a54ed7320a969635777 (patch)
tree446583d1e97410f376486f507bdbf50337ed554a /Doc
parente61592e7e1dd56bf88c9153465157e501bf48c50 (diff)
parent9a454021a4360f0036c9f24c5ccde39900fc1f23 (diff)
downloadcpython-b154113251b03c8dedd69a54ed7320a969635777.zip
cpython-b154113251b03c8dedd69a54ed7320a969635777.tar.gz
cpython-b154113251b03c8dedd69a54ed7320a969635777.tar.bz2
Issues #29349: Merge Py 2.6+ compatibility from 3.5
Diffstat (limited to 'Doc')
-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