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

Skip to content

Commit 9cf7587

Browse files
committed
Update change to version_info structure.
1 parent 93a20bf commit 9cf7587

1 file changed

Lines changed: 7 additions & 6 deletions

File tree

Doc/lib/libsys.tex

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -327,12 +327,13 @@ \section{\module{sys} ---
327327
\end{datadesc}
328328

329329
\begin{datadesc}{version_info}
330-
A tuple containing the four components of the version number:
331-
\var{major}, \var{minor}, \var{micro} as integers, and
332-
\var{releaselevel} as a string. The \var{releaselevel} value will be
333-
an empty string for a final release. The \code{version_info} value
334-
corresponding to the \code{version} string shown above is
335-
\code{(1, 5, 2, '')}.
330+
A tuple containing the five components of the version number:
331+
\var{major}, \var{minor}, \var{micro}, \var{releaselevel}, and
332+
\var{serial}. All values except \var{releaselevel} are integers; the
333+
release level is \code{'alpha'}, \code{'beta'},
334+
\code{'candidate'}, or \code{'final'}. The \code{version_info} value
335+
corresponding to the Python version 1.6 is
336+
\code{(1, 6, 0, 'final', 0)}.
336337
\versionadded{1.6}
337338
\end{datadesc}
338339

0 commit comments

Comments
 (0)