Skip to content

Commit 640ef99

Browse files
[3.13] Update struct.__doc__: _Bool available unconditionally (GH-143716) (#144071)
Update struct.__doc__: _Bool available unconditionally (GH-143716) This amends commit a9296e7. (cherry picked from commit 31c81ab) Co-authored-by: Sergey B Kirpichev <skirpichev@gmail.com>
1 parent 11bf6ef commit 640ef99

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Modules/_struct.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2482,8 +2482,7 @@ The optional first format char indicates byte order, size and alignment:\n\
24822482
The remaining chars indicate types of args and must match exactly;\n\
24832483
these can be preceded by a decimal repeat count:\n\
24842484
x: pad byte (no data); c:char; b:signed byte; B:unsigned byte;\n\
2485-
?: _Bool (requires C99; if not available, char is used instead)\n\
2486-
h:short; H:unsigned short; i:int; I:unsigned int;\n\
2485+
?:_Bool; h:short; H:unsigned short; i:int; I:unsigned int;\n\
24872486
l:long; L:unsigned long; f:float; d:double; e:half-float.\n\
24882487
Special cases (preceding decimal count indicates length):\n\
24892488
s:string (array of char); p: pascal string (with count byte).\n\

0 commit comments

Comments
 (0)