summaryrefslogtreecommitdiffstats
path: root/Doc/lib/libsys.tex
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2000-04-13 17:51:58 (GMT)
committerFred Drake <fdrake@acm.org>2000-04-13 17:51:58 (GMT)
commit9cf7587fdc7821e418a63da3ad40ddb58c5b4ba6 (patch)
treeb263cdd14275270796d92c419810ad2bdf472cd8 /Doc/lib/libsys.tex
parent93a20bf87c22d54353568f3a411ed11b2638134e (diff)
downloadcpython-9cf7587fdc7821e418a63da3ad40ddb58c5b4ba6.zip
cpython-9cf7587fdc7821e418a63da3ad40ddb58c5b4ba6.tar.gz
cpython-9cf7587fdc7821e418a63da3ad40ddb58c5b4ba6.tar.bz2
Update change to version_info structure.
Diffstat (limited to 'Doc/lib/libsys.tex')
-rw-r--r--Doc/lib/libsys.tex13
1 files changed, 7 insertions, 6 deletions
diff --git a/Doc/lib/libsys.tex b/Doc/lib/libsys.tex
index 1beb53c..01887da 100644
--- a/Doc/lib/libsys.tex
+++ b/Doc/lib/libsys.tex
@@ -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}