Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Python: Checkins
cpython: Include micro version even if it is 0.
 

Index | Next | Previous | View Flat


python-checkins at python

May 1, 2012, 9:15 AM


Views: 71
Permalink
cpython: Include micro version even if it is 0.

http://hg.python.org/cpython/rev/a8ac318da01b
changeset: 76702:a8ac318da01b
user: Martin v. Löwis <martin [at] v>
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

Subject User Time
cpython: Include micro version even if it is 0. python-checkins at python May 1, 2012, 9:15 AM
    cpython: Include micro version even if it is 0. python-checkins at python May 1, 2012, 9:15 AM
    cpython: Include micro version even if it is 0. python-checkins at python May 1, 2012, 9:16 AM

  Index | Next | Previous | View Flat
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.