diff Doc/tools/sphinxext/patchlevel.py @ 65700:8a8f2aa9db0f

Port suspicious markup builder and patchlevel.py so that they can be used with Python 2 and 3 without conversion.
author Georg Brandl <georg@python.org>
date Fri, 29 Oct 2010 05:30:17 +0000
parents 5cb4e51a4408
children 5ba6124da155
line wrap: on
line diff
--- a/Doc/tools/sphinxext/patchlevel.py	Fri Oct 29 05:24:24 2010 +0000
+++ b/Doc/tools/sphinxext/patchlevel.py	Fri Oct 29 05:30:17 2010 +0000
@@ -68,4 +68,4 @@
         return version, release
 
 if __name__ == '__main__':
-    print get_header_version_info('.')[1]
+    print(get_header_version_info('.')[1])