diff options
author | CAM Gerlach <CAM.Gerlach@Gerlach.CAM> | 2022-06-09 13:55:06 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-09 13:55:06 (GMT) |
commit | a5ba0f4ebca5020f6c77718a20663e0ac6e194ac (patch) | |
tree | 955d4afbe49793d5fc3310741bc25f239963e901 /Doc/library | |
parent | a365dd64c2a1f0d142540d5031003f24986f489f (diff) | |
download | cpython-a5ba0f4ebca5020f6c77718a20663e0ac6e194ac.zip cpython-a5ba0f4ebca5020f6c77718a20663e0ac6e194ac.tar.gz cpython-a5ba0f4ebca5020f6c77718a20663e0ac6e194ac.tar.bz2 |
Doc: Update references and examples of old, unsupported OSes and uarches (GH-92791)
Diffstat (limited to 'Doc/library')
-rw-r--r-- | Doc/library/mmap.rst | 2 | ||||
-rw-r--r-- | Doc/library/platform.rst | 2 | ||||
-rw-r--r-- | Doc/library/posix.rst | 2 | ||||
-rw-r--r-- | Doc/library/struct.rst | 7 |
4 files changed, 7 insertions, 6 deletions
diff --git a/Doc/library/mmap.rst b/Doc/library/mmap.rst index d19580c..36c15e9 100644 --- a/Doc/library/mmap.rst +++ b/Doc/library/mmap.rst @@ -102,7 +102,7 @@ To map anonymous memory, -1 should be passed as the fileno along with the length To ensure validity of the created memory mapping the file specified by the descriptor *fileno* is internally automatically synchronized - with physical backing store on macOS and OpenVMS. + with the physical backing store on macOS. This example shows a simple way of using :class:`~mmap.mmap`:: diff --git a/Doc/library/platform.rst b/Doc/library/platform.rst index 346063d..dc2d871 100644 --- a/Doc/library/platform.rst +++ b/Doc/library/platform.rst @@ -53,7 +53,7 @@ Cross Platform .. function:: machine() - Returns the machine type, e.g. ``'i386'``. An empty string is returned if the + Returns the machine type, e.g. ``'AMD64'``. An empty string is returned if the value cannot be determined. diff --git a/Doc/library/posix.rst b/Doc/library/posix.rst index ad417a1..90be191 100644 --- a/Doc/library/posix.rst +++ b/Doc/library/posix.rst @@ -37,7 +37,7 @@ Large File Support .. sectionauthor:: Steve Clift <clift@mail.anacapa.net> -Several operating systems (including AIX, HP-UX and Solaris) provide +Several operating systems (including AIX and Solaris) provide support for files that are larger than 2 GiB from a C programming model where :c:type:`int` and :c:type:`long` are 32-bit values. This is typically accomplished by defining the relevant size and offset types as 64-bit values. Such files are 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. |