Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit be80085

Browse files
committed
Make clear in the docstring that "std" applies to both size and alignment,
not just to alignment. Spotted by Guido. Bugfix candidate.
1 parent 819bb2c commit be80085

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

Modules/structmodule.c

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@ Functions to convert between Python values and C structs.\n\
99
Python strings are used to hold the data representing the C struct\n\
1010
and also as format strings to describe the layout of data in the C struct.\n\
1111
\n\
12-
The optional first format char indicates byte ordering and alignment:\n\
13-
@: native w/native alignment(default)\n\
14-
=: native w/standard alignment\n\
15-
<: little-endian, std. alignment\n\
16-
>: big-endian, std. alignment\n\
17-
!: network, std (same as >)\n\
12+
The optional first format char indicates byte order, size and alignment:\n\
13+
@: native order, size & alignment (default)\n\
14+
=: native order, std. size & alignment\n\
15+
<: little-endian, std. size & alignment\n\
16+
>: big-endian, std. size & alignment\n\
17+
!: same as >\n\
1818
\n\
1919
The remaining chars indicate types of args and must match exactly;\n\
2020
these can be preceded by a decimal repeat count:\n\

0 commit comments

Comments
 (0)