Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
1452beff
Commit
1452beff
authored
May 01, 2012
by
Martin v. Löwis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Include micro version even if it is 0.
parent
3e9c9b8d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
Lib/idlelib/EditorWindow.py
Lib/idlelib/EditorWindow.py
+1
-2
No files found.
Lib/idlelib/EditorWindow.py
View file @
1452beff
...
@@ -28,7 +28,6 @@ def _sphinx_version():
...
@@ -28,7 +28,6 @@ def _sphinx_version():
"Format sys.version_info to produce the Sphinx version string used to install the chm docs"
"Format sys.version_info to produce the Sphinx version string used to install the chm docs"
major
,
minor
,
micro
,
level
,
serial
=
sys
.
version_info
major
,
minor
,
micro
,
level
,
serial
=
sys
.
version_info
release
=
'%s%s'
%
(
major
,
minor
)
release
=
'%s%s'
%
(
major
,
minor
)
if
micro
:
release
+=
'%s'
%
(
micro
,)
release
+=
'%s'
%
(
micro
,)
if
level
==
'candidate'
:
if
level
==
'candidate'
:
release
+=
'rc%s'
%
(
serial
,)
release
+=
'rc%s'
%
(
serial
,)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment