]> granicus.if.org Git - python/commitdiff
Update change to version_info structure.
authorFred Drake <fdrake@acm.org>
Thu, 13 Apr 2000 17:51:58 +0000 (17:51 +0000)
committerFred Drake <fdrake@acm.org>
Thu, 13 Apr 2000 17:51:58 +0000 (17:51 +0000)
Doc/lib/libsys.tex

index 1beb53cefd5e46676021d1e4120a2ecd99f401bb..01887daf475b6ce63a45bdc168cbdada95dafe3e 100644 (file)
@@ -327,12 +327,13 @@ directories (where appropriate on each platform).  An example:
 \end{datadesc}
 
 \begin{datadesc}{version_info}
-A tuple containing the four components of the version number:
-\var{major}, \var{minor}, \var{micro} as integers, and
-\var{releaselevel} as a string.  The \var{releaselevel} value will be
-an empty string for a final release.  The \code{version_info} value
-corresponding to the \code{version} string shown above is
-\code{(1, 5, 2, '')}.
+A tuple containing the five components of the version number:
+\var{major}, \var{minor}, \var{micro}, \var{releaselevel}, and
+\var{serial}.  All values except \var{releaselevel} are integers; the
+release level is \code{'alpha'}, \code{'beta'},
+\code{'candidate'}, or \code{'final'}.  The \code{version_info} value
+corresponding to the Python version 1.6 is
+\code{(1, 6, 0, 'final', 0)}.
 \versionadded{1.6}
 \end{datadesc}