summaryrefslogtreecommitdiff
path: root/Doc/tools/extensions/patchlevel.py
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/tools/extensions/patchlevel.py')
-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 bca2eb8bad..9558b9ce43 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__':