Commit c05fc7dd authored by Fred Drake's avatar Fred Drake

Added documentation for sys.maxunicode and sys.warnoptions.

Fixed a markup error which caused an em dash to be presented as a minus sign.
This closes SF bug #458350.
parent 7cf613dc
...@@ -256,10 +256,17 @@ else: ...@@ -256,10 +256,17 @@ else:
\begin{datadesc}{maxint} \begin{datadesc}{maxint}
The largest positive integer supported by Python's regular integer The largest positive integer supported by Python's regular integer
type. This is at least 2**31-1. The largest negative integer is type. This is at least 2**31-1. The largest negative integer is
\code{-maxint-1} -- the asymmetry results from the use of 2's \code{-maxint-1} --- the asymmetry results from the use of 2's
complement binary arithmetic. complement binary arithmetic.
\end{datadesc} \end{datadesc}
\begin{datadesc}{maxunicode}
An integer giving the largest supported code point for a Unicode
character. The value of this depends on the configuration option
that specifies whether Unicode characters are stored as UCS-2 or
UCS-4.
\end{datadesc}
\begin{datadesc}{modules} \begin{datadesc}{modules}
This is a dictionary that maps module names to modules which have This is a dictionary that maps module names to modules which have
already been loaded. This can be manipulated to force reloading of already been loaded. This can be manipulated to force reloading of
...@@ -450,6 +457,12 @@ else: ...@@ -450,6 +457,12 @@ else:
\versionadded{2.0} \versionadded{2.0}
\end{datadesc} \end{datadesc}
\begin{datadesc}{warnoptions}
This is an implementation detail of the warnings framework; do not
modify this value. Refer to the \refmodule{warnings} module for
more information on the warnings framework.
\end{datadesc}
\begin{datadesc}{winver} \begin{datadesc}{winver}
The version number used to form registry keys on Windows platforms. The version number used to form registry keys on Windows platforms.
This is stored as string resource 1000 in the Python DLL. The value This is stored as string resource 1000 in the Python DLL. The value
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment