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

Skip to content

Commit 3a6dc19

Browse files
committed
Issues #29349: Merge Py 2 fix 3.6
2 parents af4e5d9 + e61592e commit 3a6dc19

2 files changed

Lines changed: 7 additions & 2 deletions

File tree

Doc/tools/extensions/patchlevel.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,8 @@ def get_version_info():
6161
return get_header_version_info('.')
6262
except (IOError, OSError):
6363
version, release = get_sys_version_info()
64-
print >>sys.stderr, 'Can\'t get version info from Include/patchlevel.h, ' \
65-
'using version of this interpreter (%s).' % release
64+
print('Can\'t get version info from Include/patchlevel.h, ' \
65+
'using version of this interpreter (%s).' % release, file=sys.stderr)
6666
return version, release
6767

6868
if __name__ == '__main__':

Misc/NEWS

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -847,6 +847,11 @@ Windows
847847

848848
- Issue #28896: Deprecate WindowsRegistryFinder and disable it by default.
849849

850+
Documentation
851+
-------------
852+
853+
- Issue #29349: Fix Python 2 syntax in code for building the documentation.
854+
850855
Tests
851856
-----
852857

0 commit comments

Comments
 (0)