]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Document the byte_order value in the sys module.
authorFred Drake <fdrake@acm.org>
Mon, 14 Aug 2000 15:47:30 +0000 (15:47 +0000)
committerFred Drake <fdrake@acm.org>
Mon, 14 Aug 2000 15:47:30 +0000 (15:47 +0000)
Doc/lib/libsys.tex

index 54f9493dc483281d020b40bd01b99808c4141d2b..5cc833d12af59ff88badb5d9fc55010bf2cd3dec 100644 (file)
@@ -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