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

Skip to content

Commit 68e2915

Browse files
committed
Document the byte_order value in the sys module.
1 parent 099325e commit 68e2915

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

Doc/lib/libsys.tex

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,14 @@ \section{\module{sys} ---
2020
\code{argv} has zero length.
2121
\end{datadesc}
2222

23+
\begin{datadesc}{byte_order}
24+
An indicator of the native byte order. This will have the value
25+
\code{'big'} on big-endian (most-signigicant byte first) platforms,
26+
and \code{'little'} on little-endian (least-significant byte first)
27+
platforms.
28+
\versionadded{2.0}
29+
\end{datadesc}
30+
2331
\begin{datadesc}{builtin_module_names}
2432
A tuple of strings giving the names of all modules that are compiled
2533
into this Python interpreter. (This information is not available in

0 commit comments

Comments
 (0)