https://github.com/python/cpython/commit/cf444d851555ec77ad0a8e9266a09958398da689
commit: cf444d851555ec77ad0a8e9266a09958398da689
branch: 3.13
author: Miss Islington (bot) <[email protected]>
committer: kumaraditya303 <[email protected]>
date: 2024-08-19T13:00:54+05:30
summary:

[3.13] gh-123110: correct note about _Bool in the struct module docs 
(GH-123111) (#123126)

gh-123110: correct note about _Bool in the struct module docs (GH-123111)
(cherry picked from commit b0f462d4c808d6fb1d381bba4932acd8309c1f3b)

Co-authored-by: Sergey B Kirpichev <[email protected]>

files:
M Doc/library/struct.rst

diff --git a/Doc/library/struct.rst b/Doc/library/struct.rst
index a2c293443e23d3..4769affdf1d666 100644
--- a/Doc/library/struct.rst
+++ b/Doc/library/struct.rst
@@ -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

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: [email protected]

Reply via email to