https://github.com/python/cpython/commit/1cfb4192feecc0576e9ef4482395c8bb940c87bf
commit: 1cfb4192feecc0576e9ef4482395c8bb940c87bf
branch: 3.14
author: Miss Islington (bot) <[email protected]>
committer: vstinner <[email protected]>
date: 2026-01-20T12:33:28Z
summary:

[3.14] Update struct.__doc__: _Bool available unconditionally (GH-143716) 
(#144070)

Update struct.__doc__: _Bool available unconditionally (GH-143716)

This amends commit a9296e7f3be4d6c22271b25c86467ff867c63bbb.
(cherry picked from commit 31c81ab0a2fb7009a76426617991a9b539ab0180)

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

files:
M Modules/_struct.c

diff --git a/Modules/_struct.c b/Modules/_struct.c
index f352d753723dcc..87014a4a1e37ad 100644
--- a/Modules/_struct.c
+++ b/Modules/_struct.c
@@ -2697,8 +2697,7 @@ The optional first format char indicates byte order, size 
and alignment:\n\
 The remaining chars indicate types of args and must match exactly;\n\
 these can be preceded by a decimal repeat count:\n\
   x: pad byte (no data); c:char; b:signed byte; B:unsigned byte;\n\
-  ?: _Bool (requires C99; if not available, char is used instead)\n\
-  h:short; H:unsigned short; i:int; I:unsigned int;\n\
+  ?:_Bool; h:short; H:unsigned short; i:int; I:unsigned int;\n\
   l:long; L:unsigned long; f:float; d:double; e:half-float.\n\
   F:float complex; D:double complex.\n\
 Special cases (preceding decimal count indicates length):\n\

_______________________________________________
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