Skip to content

gh-123110: correct note about _Bool in the struct module docs #123111

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Aug 18, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading