summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2012-05-01 14:31:18 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2012-05-01 14:31:18 (GMT)
commit7f9d181d5666f4f3096fa8f3591e37d97a4fa569 (patch)
treedb64577e8c41ac3e3ea8bcc5ffe247d8734f5688 /Lib/idlelib
parent24a05f787ed322bc39dc3a226f8ff6fd002d3cf4 (diff)
downloadcpython-7f9d181d5666f4f3096fa8f3591e37d97a4fa569.zip
cpython-7f9d181d5666f4f3096fa8f3591e37d97a4fa569.tar.gz
cpython-7f9d181d5666f4f3096fa8f3591e37d97a4fa569.tar.bz2
Include micro version even if it is 0.
Diffstat (limited to 'Lib/idlelib')
-rw-r--r--Lib/idlelib/EditorWindow.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/Lib/idlelib/EditorWindow.py b/Lib/idlelib/EditorWindow.py
index de74e58..c32064d 100644
--- a/Lib/idlelib/EditorWindow.py
+++ b/Lib/idlelib/EditorWindow.py
@@ -28,8 +28,7 @@ def _sphinx_version():
"Format sys.version_info to produce the Sphinx version string used to install the chm docs"
major, minor, micro, level, serial = sys.version_info
release = '%s%s' % (major, minor)
- if micro:
- release += '%s' % (micro,)
+ release += '%s' % (micro,)
if level == 'candidate':
release += 'rc%s' % (serial,)
elif level != 'final':