summaryrefslogtreecommitdiffstats
path: root/Doc/library/struct.rst
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2022-06-09 14:15:33 (GMT)
committerGitHub <noreply@github.com>2022-06-09 14:15:33 (GMT)
commit92f8786ef8e6eec64df614bb7ad9c55db977fa57 (patch)
tree91bb16e90129d0427386a0dfb1fe1a58979b7637 /Doc/library/struct.rst
parent98bbbbe46dd3ccede4759c8c5f518c5bf1e5889e (diff)
downloadcpython-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.rst7
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.