Issues #29349: Merge Py 2 fix 3.6
This commit is contained in:
commit
3a6dc19f6e
|
@ -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__':
|
||||
|
|
Loading…
Reference in New Issue