Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 7f9d181

Browse files
committed
Include micro version even if it is 0.
1 parent 24a05f7 commit 7f9d181

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

Lib/idlelib/EditorWindow.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,7 @@ def _sphinx_version():
2828
"Format sys.version_info to produce the Sphinx version string used to install the chm docs"
2929
major, minor, micro, level, serial = sys.version_info
3030
release = '%s%s' % (major, minor)
31-
if micro:
32-
release += '%s' % (micro,)
31+
release += '%s' % (micro,)
3332
if level == 'candidate':
3433
release += 'rc%s' % (serial,)
3534
elif level != 'final':

0 commit comments

Comments
 (0)