diff options
author | Georg Brandl <georg@python.org> | 2010-10-29 05:30:17 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2010-10-29 05:30:17 (GMT) |
commit | a17fd1f3b5e731f0d942e75bfc7d82bee0c65b68 (patch) | |
tree | 9fbff5939f3e1a22c642f15da7ea54e5e325d94b /Doc/tools/sphinxext/patchlevel.py | |
parent | b98273fff90cf80c14cd13e03dc26483b4681af4 (diff) | |
download | cpython-a17fd1f3b5e731f0d942e75bfc7d82bee0c65b68.zip cpython-a17fd1f3b5e731f0d942e75bfc7d82bee0c65b68.tar.gz cpython-a17fd1f3b5e731f0d942e75bfc7d82bee0c65b68.tar.bz2 |
Port suspicious markup builder and patchlevel.py so that they can be used with Python 2 and 3 without conversion.
Diffstat (limited to 'Doc/tools/sphinxext/patchlevel.py')
-rw-r--r-- | Doc/tools/sphinxext/patchlevel.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 @@ def get_version_info(): return version, release if __name__ == '__main__': - print get_header_version_info('.')[1] + print(get_header_version_info('.')[1]) |