diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2012-05-01 14:31:18 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2012-05-01 14:31:18 (GMT) |
commit | 7f9d181d5666f4f3096fa8f3591e37d97a4fa569 (patch) | |
tree | db64577e8c41ac3e3ea8bcc5ffe247d8734f5688 /Lib/idlelib | |
parent | 24a05f787ed322bc39dc3a226f8ff6fd002d3cf4 (diff) | |
download | cpython-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.py | 3 |
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': |