Skip to content

Incorrect note about _Bool type in the struct module docs #123110

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

Closed
skirpichev opened this issue Aug 17, 2024 · 0 comments
Closed

Incorrect note about _Bool type in the struct module docs #123110

skirpichev opened this issue Aug 17, 2024 · 0 comments
Labels
docs Documentation in the Doc dir

Comments

@skirpichev
Copy link
Contributor

skirpichev commented Aug 17, 2024

Note from table of format characters says: "The '?' conversion code corresponds to the _Bool type defined by C99. If this type is not available, it is simulated using a char. In standard mode, it is always represented by one byte."

Since a9296e7, C99 bool's are required. So, either this could be removed or reduced to the first sentence.

Linked PRs

@skirpichev skirpichev added the docs Documentation in the Doc dir label Aug 17, 2024
skirpichev added a commit to skirpichev/cpython that referenced this issue Aug 17, 2024
miss-islington pushed a commit to miss-islington/cpython that referenced this issue Aug 18, 2024
miss-islington pushed a commit to miss-islington/cpython that referenced this issue Aug 18, 2024
kumaraditya303 pushed a commit that referenced this issue Aug 19, 2024
…H-123111) (#123126)

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]>
kumaraditya303 pushed a commit that referenced this issue Aug 19, 2024
…H-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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Documentation in the Doc dir
Projects
None yet
Development

No branches or pull requests

2 participants