Skip to content

Commit 31c81ab

Browse files
authored
Update struct.__doc__: _Bool available unconditionally (#143716)
This amends commit a9296e7.
1 parent fe62926 commit 31c81ab

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
@@ -2662,8 +2662,7 @@ The optional first format char indicates byte order, size and alignment:\n\
26622662
The remaining chars indicate types of args and must match exactly;\n\
26632663
these can be preceded by a decimal repeat count:\n\
26642664
x: pad byte (no data); c:char; b:signed byte; B:unsigned byte;\n\
2665-
?: _Bool (requires C99; if not available, char is used instead)\n\
2666-
h:short; H:unsigned short; i:int; I:unsigned int;\n\
2665+
?:_Bool; h:short; H:unsigned short; i:int; I:unsigned int;\n\
26672666
l:long; L:unsigned long; f:float; d:double; e:half-float.\n\
26682667
F:float complex; D:double complex.\n\
26692668
Special cases (preceding decimal count indicates length):\n\

0 commit comments

Comments
 (0)