Skip to content

Commit c9248c4

Browse files
committed
gh-143674: Document F/D complex format characters in struct module
Add documentation for the F (complex from two floats) and D (complex from two doubles) format characters in the struct module docstring. These format characters were implemented but not documented.
1 parent 718c15f commit c9248c4

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Modules/_struct.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2689,6 +2689,7 @@ these can be preceded by a decimal repeat count:\n\
26892689
?: _Bool (requires C99; if not available, char is used instead)\n\
26902690
h:short; H:unsigned short; i:int; I:unsigned int;\n\
26912691
l:long; L:unsigned long; f:float; d:double; e:half-float.\n\
2692+
F:complex (two floats); D:complex (two doubles).\n\
26922693
Special cases (preceding decimal count indicates length):\n\
26932694
s:string (array of char); p: pascal string (with count byte).\n\
26942695
Special cases (only available in native format):\n\

0 commit comments

Comments
 (0)