Skip to content

Commit 8edfa0b

Browse files
[3.12] gh-123110: correct note about _Bool in the struct module docs (GH-123111) (#123127)
gh-123110: correct note about _Bool in the struct module docs (GH-123111) (cherry picked from commit b0f462d) Co-authored-by: Sergey B Kirpichev <[email protected]>
1 parent 030b48c commit 8edfa0b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Doc/library/struct.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -275,9 +275,9 @@ Notes:
275275
(1)
276276
.. index:: single: ? (question mark); in struct format strings
277277

278-
The ``'?'`` conversion code corresponds to the :c:expr:`_Bool` type defined by
279-
C99. If this type is not available, it is simulated using a :c:expr:`char`. In
280-
standard mode, it is always represented by one byte.
278+
The ``'?'`` conversion code corresponds to the :c:expr:`_Bool` type
279+
defined by C standards since C99. In standard mode, it is
280+
represented by one byte.
281281

282282
(2)
283283
When attempting to pack a non-integer using any of the integer conversion

0 commit comments

Comments
 (0)