summaryrefslogtreecommitdiffstats
path: root/Doc/tools/patchlevel.py
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2014-10-02 06:26:26 (GMT)
committerGeorg Brandl <georg@python.org>2014-10-02 06:26:26 (GMT)
commit14b5a4da2732d3464c6b40527458005ccf19f95c (patch)
tree9b06181be087de60de7134f72b93c94f876b16b2 /Doc/tools/patchlevel.py
parent2f33456e41330abdd0e818802665a4e0091626a2 (diff)
downloadcpython-14b5a4da2732d3464c6b40527458005ccf19f95c.zip
cpython-14b5a4da2732d3464c6b40527458005ccf19f95c.tar.gz
cpython-14b5a4da2732d3464c6b40527458005ccf19f95c.tar.bz2
Closes #22537: Make sphinx extensions compatible with Python 2 or 3, like in the 3.x branches
Diffstat (limited to 'Doc/tools/patchlevel.py')
-rw-r--r--Doc/tools/patchlevel.py2
1 files changed, 1 insertions, 1 deletions
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 @@ def get_version_info():
return version, release
if __name__ == '__main__':
- print get_header_version_info('.')[1]
+ print(get_header_version_info('.')[1])