Skip to content

Commit a4c9fe2

Browse files
skirpichevblhsing
authored andcommitted
pythongh-123110: correct note about _Bool in the struct module docs (pythonGH-123111)
1 parent c0de095 commit a4c9fe2

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
@@ -279,9 +279,9 @@ Notes:
279279
(1)
280280
.. index:: single: ? (question mark); in struct format strings
281281

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

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

0 commit comments

Comments
 (0)