summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSergey B Kirpichev <skirpichev@gmail.com>2024-08-18 13:58:58 (GMT)
committerGitHub <noreply@github.com>2024-08-18 13:58:58 (GMT)
commitb0f462d4c808d6fb1d381bba4932acd8309c1f3b (patch)
treeb8fbe51d018b812fd38a5f8686c6c504c8df855f
parent63603bca35798c166e1b8e0be76aef69217f8b1b (diff)
downloadcpython-b0f462d4c808d6fb1d381bba4932acd8309c1f3b.zip
cpython-b0f462d4c808d6fb1d381bba4932acd8309c1f3b.tar.gz
cpython-b0f462d4c808d6fb1d381bba4932acd8309c1f3b.tar.bz2
gh-123110: correct note about _Bool in the struct module docs (GH-123111)
-rw-r--r--Doc/library/struct.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/library/struct.rst b/Doc/library/struct.rst
index a2c2934..4769aff 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