Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 752abd0 commit 62ed91dCopy full SHA for 62ed91d
1 file changed
Doc/tools/sphinxext/patchlevel.py
@@ -63,10 +63,9 @@ def get_version_info():
63
return get_header_version_info('.')
64
except (IOError, OSError):
65
version, release = get_sys_version_info()
66
- print('Can\'t get version info from Include/patchlevel.h, '
67
- 'using version of this interpreter (%s).' % release,
68
- file=sys.stderr)
+ print >>sys.stderr, 'Can\'t get version info from Include/patchlevel.h, ' \
+ 'using version of this interpreter (%s).' % release
69
return version, release
70
71
if __name__ == '__main__':
72
- print(get_header_version_info('.')[1])
+ print get_header_version_info('.')[1]
0 commit comments