Mercurial > cpython-lru_cache-weakref
diff Modules/structmodule.c @ 18077:622867e4d832 legacy-trunk
Make clear in the docstring that "std" applies to both size and alignment,
not just to alignment. Spotted by Guido.
Bugfix candidate.
| author | Tim Peters <tim.peters@gmail.com> |
|---|---|
| date | Mon, 11 Jun 2001 16:45:33 +0000 |
| parents | 8e187740aa96 |
| children | add095639853 |
line wrap: on
line diff
--- a/Modules/structmodule.c Mon Jun 11 15:25:16 2001 +0000 +++ b/Modules/structmodule.c Mon Jun 11 16:45:33 2001 +0000 @@ -9,12 +9,12 @@ Python strings are used to hold the data representing the C struct\n\ and also as format strings to describe the layout of data in the C struct.\n\ \n\ -The optional first format char indicates byte ordering and alignment:\n\ - @: native w/native alignment(default)\n\ - =: native w/standard alignment\n\ - <: little-endian, std. alignment\n\ - >: big-endian, std. alignment\n\ - !: network, std (same as >)\n\ +The optional first format char indicates byte order, size and alignment:\n\ + @: native order, size & alignment (default)\n\ + =: native order, std. size & alignment\n\ + <: little-endian, std. size & alignment\n\ + >: big-endian, std. size & alignment\n\ + !: same as >\n\ \n\ The remaining chars indicate types of args and must match exactly;\n\ these can be preceded by a decimal repeat count:\n\
