mirror of
https://github.com/python/cpython.git
synced 2025-12-23 09:19:18 +00:00
Include micro version even if it is 0.
This commit is contained in:
parent
24a05f787e
commit
7f9d181d56
1 changed files with 1 additions and 2 deletions
|
|
@ -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':
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue