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

Skip to content

Commit c05fc7d

Browse files
committed
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.
1 parent 7cf613d commit c05fc7d

1 file changed

Lines changed: 14 additions & 1 deletion

File tree

Doc/lib/libsys.tex

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,10 +256,17 @@ \section{\module{sys} ---
256256
\begin{datadesc}{maxint}
257257
The largest positive integer supported by Python's regular integer
258258
type. This is at least 2**31-1. The largest negative integer is
259-
\code{-maxint-1} -- the asymmetry results from the use of 2's
259+
\code{-maxint-1} --- the asymmetry results from the use of 2's
260260
complement binary arithmetic.
261261
\end{datadesc}
262262

263+
\begin{datadesc}{maxunicode}
264+
An integer giving the largest supported code point for a Unicode
265+
character. The value of this depends on the configuration option
266+
that specifies whether Unicode characters are stored as UCS-2 or
267+
UCS-4.
268+
\end{datadesc}
269+
263270
\begin{datadesc}{modules}
264271
This is a dictionary that maps module names to modules which have
265272
already been loaded. This can be manipulated to force reloading of
@@ -450,6 +457,12 @@ \section{\module{sys} ---
450457
\versionadded{2.0}
451458
\end{datadesc}
452459

460+
\begin{datadesc}{warnoptions}
461+
This is an implementation detail of the warnings framework; do not
462+
modify this value. Refer to the \refmodule{warnings} module for
463+
more information on the warnings framework.
464+
\end{datadesc}
465+
453466
\begin{datadesc}{winver}
454467
The version number used to form registry keys on Windows platforms.
455468
This is stored as string resource 1000 in the Python DLL. The value

0 commit comments

Comments
 (0)