Skip to content

Commit

Permalink
pythongh-123110: correct note about _Bool in the struct module docs (p…
Browse files Browse the repository at this point in the history
  • Loading branch information
skirpichev authored Aug 18, 2024
1 parent 63603bc commit b0f462d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Doc/library/struct.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b0f462d

Please sign in to comment.