summaryrefslogtreecommitdiffstats
path: root/Doc/libstruct.tex
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>1998-03-08 07:44:13 (GMT)
committerFred Drake <fdrake@acm.org>1998-03-08 07:44:13 (GMT)
commit7ddd043191ee85d6e608de2ebd9940e072f5104c (patch)
tree3708133f19c3f957407143ddd77b7917f710a665 /Doc/libstruct.tex
parent013ad9869e0101a049db4e18aabb5ea1a6ac6bbe (diff)
downloadcpython-7ddd043191ee85d6e608de2ebd9940e072f5104c.zip
cpython-7ddd043191ee85d6e608de2ebd9940e072f5104c.tar.gz
cpython-7ddd043191ee85d6e608de2ebd9940e072f5104c.tar.bz2
Moved solitary "see also" paragraph into a {seealso} environment, and told
why the reader should see also.
Diffstat (limited to 'Doc/libstruct.tex')
-rw-r--r--Doc/libstruct.tex13
1 files changed, 7 insertions, 6 deletions
diff --git a/Doc/libstruct.tex b/Doc/libstruct.tex
index 2ed4f2c..fa6919c 100644
--- a/Doc/libstruct.tex
+++ b/Doc/libstruct.tex
@@ -8,12 +8,9 @@ structs represented as Python strings. It uses \dfn{format strings}
(explained below) as compact descriptions of the lay-out of the C
structs and the intended conversion to/from Python values.
-See also built-in module \code{array}.
-\refbimodindex{array}
-
The module defines the following exception and functions:
-\setindexsubitem{(in module struct)}
+
\begin{excdesc}{error}
Exception raised on various occasions; argument is a string
describing what is wrong.
@@ -135,5 +132,9 @@ Hint: to align the end of a structure to the alignment requirement of
a particular type, end the format with the code for that type with a
repeat count of zero, e.g.\ the format \code{'llh0l'} specifies two
pad bytes at the end, assuming longs are aligned on 4-byte boundaries.
-(This only works when native size and alignment are in effect;
-standard size and alignment does not enforce any alignment.)
+This only works when native size and alignment are in effect;
+standard size and alignment does not enforce any alignment.
+
+\begin{seealso}
+\seemodule{array}{packed binary storage of homogeneous data}
+\end{seealso}