[Python-checkins] cpython: Include micro version even if it is 0.

martin.v.loewis python-checkins at python.org
Tue May 1 18:15:59 CEST 2012


http://hg.python.org/cpython/rev/a8ac318da01b
changeset:   76702:a8ac318da01b
user:        Martin v. Löwis <martin at v.loewis.de>
date:        Tue May 01 16:31:18 2012 +0200
summary:
  Include micro version even if it is 0.

files:
  Lib/idlelib/EditorWindow.py |  3 +--
  1 files changed, 1 insertions(+), 2 deletions(-)


diff --git a/Lib/idlelib/EditorWindow.py b/Lib/idlelib/EditorWindow.py
--- a/Lib/idlelib/EditorWindow.py
+++ b/Lib/idlelib/EditorWindow.py
@@ -28,8 +28,7 @@
     "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':

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list