diff options
| author | Martin Panter <vadmium+py@gmail.com> | 2017-01-29 10:05:02 +0000 |
|---|---|---|
| committer | Martin Panter <vadmium+py@gmail.com> | 2017-01-29 10:05:02 +0000 |
| commit | 8f3fb723091ced7ffd4f703f2480f044db5c8bc4 (patch) | |
| tree | 5b0dd09db9c0198c4420df56c703f1d5c8222eb5 | |
| parent | 8dbb0ca573436dcc780ae3fc00941f928f02b708 (diff) | |
| download | cpython-git-8f3fb723091ced7ffd4f703f2480f044db5c8bc4.tar.gz | |
Issue #29349: Fix Python 2 syntax in documentation build code
| -rw-r--r-- | Doc/tools/extensions/patchlevel.py | 4 | ||||
| -rw-r--r-- | Misc/NEWS | 5 |
2 files changed, 7 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__': @@ -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? =========================== |
