Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 62ed91d

Browse files
committed
revert syntax change
1 parent 752abd0 commit 62ed91d

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

Doc/tools/sphinxext/patchlevel.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,10 +63,9 @@ def get_version_info():
6363
return get_header_version_info('.')
6464
except (IOError, OSError):
6565
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)
66+
print >>sys.stderr, 'Can\'t get version info from Include/patchlevel.h, ' \
67+
'using version of this interpreter (%s).' % release
6968
return version, release
7069

7170
if __name__ == '__main__':
72-
print(get_header_version_info('.')[1])
71+
print get_header_version_info('.')[1]

0 commit comments

Comments
 (0)