Skip to content

Commit eee0dde

Browse files
committed
Fix struct.__doc__ (_Bool available unconditionally)
This amends a9296e7
1 parent 548526b commit eee0dde

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

Modules/_struct.c

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

0 commit comments

Comments
 (0)