commit | 14b5a4da2732d3464c6b40527458005ccf19f95c | [log] [tgz] |
---|---|---|
author | Georg Brandl <georg@python.org> | Thu Oct 02 08:26:26 2014 +0200 |
committer | Georg Brandl <georg@python.org> | Thu Oct 02 08:26:26 2014 +0200 |
tree | 9b06181be087de60de7134f72b93c94f876b16b2 | |
parent | 2f33456e41330abdd0e818802665a4e0091626a2 [diff] [blame] |
Closes #22537: Make sphinx extensions compatible with Python 2 or 3, like in the 3.x branches
diff --git a/Doc/tools/patchlevel.py b/Doc/tools/patchlevel.py index 082858e..b070d60 100644 --- a/Doc/tools/patchlevel.py +++ b/Doc/tools/patchlevel.py
@@ -68,4 +68,4 @@ return version, release if __name__ == '__main__': - print get_header_version_info('.')[1] + print(get_header_version_info('.')[1])