From: Fred Drake Date: Mon, 14 Aug 2000 15:47:30 +0000 (+0000) Subject: Document the byte_order value in the sys module. X-Git-Tag: v2.0b1~462 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=68e2915fc707ca17df088447bfcb8c5811de0944;p=thirdparty%2FPython%2Fcpython.git Document the byte_order value in the sys module. --- diff --git a/Doc/lib/libsys.tex b/Doc/lib/libsys.tex index 54f9493dc483..5cc833d12af5 100644 --- a/Doc/lib/libsys.tex +++ b/Doc/lib/libsys.tex @@ -20,6 +20,14 @@ It is always available. \code{argv} has zero length. \end{datadesc} +\begin{datadesc}{byte_order} + An indicator of the native byte order. This will have the value + \code{'big'} on big-endian (most-signigicant byte first) platforms, + and \code{'little'} on little-endian (least-significant byte first) + platforms. + \versionadded{2.0} +\end{datadesc} + \begin{datadesc}{builtin_module_names} A tuple of strings giving the names of all modules that are compiled into this Python interpreter. (This information is not available in