[3.13] gh-123110: correct note about _Bool in the struct module docs (GH-123111) (#123126)

gh-123110: correct note about _Bool in the struct module docs (GH-123111)
(cherry picked from commit b0f462d4c8)

Co-authored-by: Sergey B Kirpichev <skirpichev@gmail.com>
This commit is contained in:
Miss Islington (bot) 2024-08-19 09:30:54 +02:00 committed by GitHub
parent 01ce10c690
commit cf444d8515
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 3 deletions

View 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