]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-123110: correct note about _Bool in the struct module docs (GH-123111)
authorSergey B Kirpichev <skirpichev@gmail.com>
Sun, 18 Aug 2024 13:58:58 +0000 (16:58 +0300)
committerGitHub <noreply@github.com>
Sun, 18 Aug 2024 13:58:58 +0000 (16:58 +0300)
Doc/library/struct.rst

index a2c293443e23d3baf8f9c9c4e18b8c2ef98fd8fa..4769affdf1d666217c05982e5125648d5150729f 100644 (file)
@@ -279,9 +279,9 @@ Notes:
 (1)
    .. index:: single: ? (question mark); in struct format strings
 
-   The ``'?'`` conversion code corresponds to the :c:expr:`_Bool` type defined by
-   C99. If this type is not available, it is simulated using a :c:expr:`char`. In
-   standard mode, it is always represented by one byte.
+   The ``'?'`` conversion code corresponds to the :c:expr:`_Bool` type
+   defined by C standards since C99.  In standard mode, it is
+   represented by one byte.
 
 (2)
    When attempting to pack a non-integer using any of the integer conversion