Issue #29349: Fix Python 2 syntax in documentation build code
This commit is contained in:
parent
8dbb0ca573
commit
8f3fb72309
|
@ -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__':
|
||||
|
|
|
@ -50,6 +50,11 @@ C API
|
|||
Py_BuildValue() were not available in limited API of version < 3.3 when
|
||||
PY_SSIZE_T_CLEAN is defined.
|
||||
|
||||
Documentation
|
||||
-------------
|
||||
|
||||
- Issue #29349: Fix Python 2 syntax in code for building the documentation.
|
||||
|
||||
|
||||
What's New in Python 3.5.3?
|
||||
===========================
|
||||
|
|
Loading…
Reference in New Issue