Skip to content

Commit 1cfb419

Browse files
[3.14] Update struct.__doc__: _Bool available unconditionally (GH-143716) (#144070)
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 6293e1e commit 1cfb419

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

0 commit comments

Comments
 (0)