[Python-3000-checkins] r63203 - python/branches/py3k/Doc/tools/sphinxext/patchlevel.py
benjamin.peterson
python-3000-checkins at python.org
Tue May 13 14:56:26 CEST 2008
Author: benjamin.peterson
Date: Tue May 13 14:56:25 2008
New Revision: 63203
Log:
revert syntax change
Modified:
python/branches/py3k/Doc/tools/sphinxext/patchlevel.py
Modified: python/branches/py3k/Doc/tools/sphinxext/patchlevel.py
==============================================================================
--- python/branches/py3k/Doc/tools/sphinxext/patchlevel.py (original)
+++ python/branches/py3k/Doc/tools/sphinxext/patchlevel.py Tue May 13 14:56:25 2008
@@ -63,10 +63,9 @@
return get_header_version_info('.')
except (IOError, OSError):
version, release = get_sys_version_info()
- print('Can\'t get version info from Include/patchlevel.h, '
- 'using version of this interpreter (%s).' % release,
- file=sys.stderr)
+ print >>sys.stderr, 'Can\'t get version info from Include/patchlevel.h, ' \
+ 'using version of this interpreter (%s).' % release
return version, release
if __name__ == '__main__':
- print(get_header_version_info('.')[1])
+ print get_header_version_info('.')[1]
More information about the Python-3000-checkins
mailing list