summaryrefslogtreecommitdiffstats
path: root/Doc/tools
diff options
context:
space:
mode:
authorMartin Panter <vadmium+py@gmail.com>2017-01-29 10:09:43 (GMT)
committerMartin Panter <vadmium+py@gmail.com>2017-01-29 10:09:43 (GMT)
commite61592e7e1dd56bf88c9153465157e501bf48c50 (patch)
tree2e38f7a817df53d021fcefe0a1d40bc8a730554a /Doc/tools
parent2be98894059a13529d5696afb8fcb33408d2e9dd (diff)
parent8f3fb723091ced7ffd4f703f2480f044db5c8bc4 (diff)
downloadcpython-e61592e7e1dd56bf88c9153465157e501bf48c50.zip
cpython-e61592e7e1dd56bf88c9153465157e501bf48c50.tar.gz
cpython-e61592e7e1dd56bf88c9153465157e501bf48c50.tar.bz2
Issues #29349: Merge Py 2 fix 3.5
Diffstat (limited to 'Doc/tools')
-rw-r--r--Doc/tools/extensions/patchlevel.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/tools/extensions/patchlevel.py b/Doc/tools/extensions/patchlevel.py
index bca2eb8..9558b9c 100644
--- a/Doc/tools/extensions/patchlevel.py
+++ b/Doc/tools/extensions/patchlevel.py
@@ -61,8 +61,8 @@ def get_version_info():
return get_header_version_info('.')
except (IOError, OSError):
version, release = get_sys_version_info()
- print >>sys.stderr, 'Can\'t get version info from Include/patchlevel.h, ' \
- 'using version of this interpreter (%s).' % release
+ print('Can\'t get version info from Include/patchlevel.h, ' \
+ 'using version of this interpreter (%s).' % release, file=sys.stderr)
return version, release
if __name__ == '__main__':