summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2001-06-11 16:45:33 (GMT)
committerTim Peters <tim.peters@gmail.com>2001-06-11 16:45:33 (GMT)
commitbe80085514933ca02432d75e47f7eaf436e826ac (patch)
treecc71e12984fcf1968724dafb86f29bce71e8692f /Modules
parent819bb2c5029b8b25cf856eb48da49d98cc580785 (diff)
downloadcpython-be80085514933ca02432d75e47f7eaf436e826ac.zip
cpython-be80085514933ca02432d75e47f7eaf436e826ac.tar.gz
cpython-be80085514933ca02432d75e47f7eaf436e826ac.tar.bz2
Make clear in the docstring that "std" applies to both size and alignment,
not just to alignment. Spotted by Guido. Bugfix candidate.
Diffstat (limited to 'Modules')
-rw-r--r--Modules/structmodule.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/Modules/structmodule.c b/Modules/structmodule.c
index a168b9f..b06b828 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\