From: Tim Peters Date: Mon, 11 Jun 2001 16:45:33 +0000 (+0000) Subject: Make clear in the docstring that "std" applies to both size and alignment, X-Git-Tag: v2.2a3~1580 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=be80085514933ca02432d75e47f7eaf436e826ac;p=thirdparty%2FPython%2Fcpython.git Make clear in the docstring that "std" applies to both size and alignment, not just to alignment. Spotted by Guido. Bugfix candidate. --- diff --git a/Modules/structmodule.c b/Modules/structmodule.c index a168b9fc0aa5..b06b828d3d5d 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\