Skip to content

Commit 6219497

Browse files
miss-islingtonmoneebullah25skirpichev
authored
[3.14] gh-143674: Document F/D complex format characters in struct module (GH-143675) (#143918)
gh-143674: Document F/D complex format characters in struct module (GH-143675) 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. (cherry picked from commit 3e93225) Co-authored-by: Muneeb Ullah <moneebullah25@gmail.com> Co-authored-by: Sergey B Kirpichev <skirpichev@gmail.com>
1 parent daae127 commit 6219497

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Modules/_struct.c

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

0 commit comments

Comments
 (0)