mirror of https://github.com/python/cpython
Update the version number in an example
This commit is contained in:
parent
70ba382788
commit
8357c4c9c6
|
@ -530,15 +530,16 @@ f()
|
||||||
A new variable holding more detailed version information has been
|
A new variable holding more detailed version information has been
|
||||||
added to the \module{sys} module. \code{sys.version_info} is a tuple
|
added to the \module{sys} module. \code{sys.version_info} is a tuple
|
||||||
\code{(\var{major}, \var{minor}, \var{micro}, \var{level},
|
\code{(\var{major}, \var{minor}, \var{micro}, \var{level},
|
||||||
\var{serial})} For example, in 2.0a2 \code{sys.version_info} is
|
\var{serial})} For example, in a hypothetical 2.0.1beta1,
|
||||||
\code{(1, 6, 0, 'alpha', 2)}. \var{level} is a string such as
|
\code{sys.version_info} would be \code{(2, 0, 1, 'beta', 1)}.
|
||||||
\code{"alpha"}, \code{"beta"}, or \code{""} for a final release.
|
\var{level} is a string such as \code{"alpha"}, \code{"beta"}, or
|
||||||
|
\code{""} for a final release.
|
||||||
|
|
||||||
% ======================================================================
|
% ======================================================================
|
||||||
\section{Extending/Embedding Changes}
|
\section{Extending/Embedding Changes}
|
||||||
|
|
||||||
Some of the changes are under the covers, and will only be apparent to
|
Some of the changes are under the covers, and will only be apparent to
|
||||||
people writing C extension modules, or embedding a Python interpreter
|
people writing C extension modules or embedding a Python interpreter
|
||||||
in a larger application. If you aren't dealing with Python's C API,
|
in a larger application. If you aren't dealing with Python's C API,
|
||||||
you can safely skip this section.
|
you can safely skip this section.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue