summaryrefslogtreecommitdiffstats
path: root/Doc/tools
diff options
context:
space:
mode:
authorMartin Panter <vadmium+py@gmail.com>2017-01-29 23:37:24 (GMT)
committerMartin Panter <vadmium+py@gmail.com>2017-01-29 23:37:24 (GMT)
commitba964cc5f73a5270adc2098d3ca3717794315f6e (patch)
treeab05b1058adbd9ced581cf780fc0b8cef472104a /Doc/tools
parent3f16f57ea4ceb2a33090b7e074079c177585733e (diff)
parentb154113251b03c8dedd69a54ed7320a969635777 (diff)
downloadcpython-ba964cc5f73a5270adc2098d3ca3717794315f6e.zip
cpython-ba964cc5f73a5270adc2098d3ca3717794315f6e.tar.gz
cpython-ba964cc5f73a5270adc2098d3ca3717794315f6e.tar.bz2
Issues #29349: Merge Py 2.6+ compatibility from 3.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 9ba32bd..617f28c 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