From: Anthony Baxter Date: Thu, 1 Nov 2001 13:34:10 +0000 (+0000) Subject: backport tim's 2.44 X-Git-Tag: v2.1.2c1~93 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=22a2ce8d40486b651b967c09baf1aa312bce11be;p=thirdparty%2FPython%2Fcpython.git backport tim's 2.44 Make clear in the docstring that "std" applies to both size and alignment, not just to alignment. Spotted by Guido. not normally bothering with docstring cleanups, but in this case Tim _did_ note it as a bugfix candidate, so I'll be nice :) --- diff --git a/Modules/structmodule.c b/Modules/structmodule.c index 9d1c436494c6..ff0a0160b904 100644 --- a/Modules/structmodule.c +++ b/Modules/structmodule.c @@ -9,12 +9,12 @@ Functions to convert between Python values and C structs.\n\ 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\