commit | a17fd1f3b5e731f0d942e75bfc7d82bee0c65b68 | [log] [tgz] |
---|---|---|
author | Georg Brandl <georg@python.org> | Fri Oct 29 05:30:17 2010 +0000 |
committer | Georg Brandl <georg@python.org> | Fri Oct 29 05:30:17 2010 +0000 |
tree | 9fbff5939f3e1a22c642f15da7ea54e5e325d94b | |
parent | b98273fff90cf80c14cd13e03dc26483b4681af4 [diff] [blame] |
Port suspicious markup builder and patchlevel.py so that they can be used with Python 2 and 3 without conversion.
diff --git a/Doc/tools/sphinxext/patchlevel.py b/Doc/tools/sphinxext/patchlevel.py index 082858e..b070d60 100644 --- a/Doc/tools/sphinxext/patchlevel.py +++ b/Doc/tools/sphinxext/patchlevel.py
@@ -68,4 +68,4 @@ return version, release if __name__ == '__main__': - print get_header_version_info('.')[1] + print(get_header_version_info('.')[1])