diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2022-06-09 14:15:33 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-09 14:15:33 (GMT) |
commit | 92f8786ef8e6eec64df614bb7ad9c55db977fa57 (patch) | |
tree | 91bb16e90129d0427386a0dfb1fe1a58979b7637 /Doc/library/struct.rst | |
parent | 98bbbbe46dd3ccede4759c8c5f518c5bf1e5889e (diff) | |
download | cpython-92f8786ef8e6eec64df614bb7ad9c55db977fa57.zip cpython-92f8786ef8e6eec64df614bb7ad9c55db977fa57.tar.gz cpython-92f8786ef8e6eec64df614bb7ad9c55db977fa57.tar.bz2 |
Doc: Update references and examples of old, unsupported OSes and uarches (GH-92791) (GH-93638)
(cherry picked from commit a5ba0f4ebca5020f6c77718a20663e0ac6e194ac)
Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM>
Diffstat (limited to 'Doc/library/struct.rst')
-rw-r--r-- | Doc/library/struct.rst | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Doc/library/struct.rst b/Doc/library/struct.rst index eccba20..978eeab 100644 --- a/Doc/library/struct.rst +++ b/Doc/library/struct.rst @@ -146,9 +146,10 @@ If the first character is not one of these, ``'@'`` is assumed. Native byte order is big-endian or little-endian, depending on the host system. For example, Intel x86 and AMD64 (x86-64) are little-endian; -Motorola 68000 and PowerPC G5 are big-endian; ARM and Intel Itanium feature -switchable endianness (bi-endian). Use ``sys.byteorder`` to check the -endianness of your system. +IBM z and most legacy architectures are big-endian; +and ARM, RISC-V and IBM Power feature switchable endianness +(bi-endian, though the former two are nearly always little-endian in practice). +Use ``sys.byteorder`` to check the endianness of your system. Native size and alignment are determined using the C compiler's ``sizeof`` expression. This is always combined with native byte order. |