summaryrefslogtreecommitdiffstats
path: root/Doc/lib/libarray.tex
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>1999-04-21 16:38:53 (GMT)
committerFred Drake <fdrake@acm.org>1999-04-21 16:38:53 (GMT)
commit4f6e4fbc1de5d23a865106b0e7a2a311c3cd2294 (patch)
treedb03802c7730ade8d789720e2fc23ccbc0c706eb /Doc/lib/libarray.tex
parent69fa56327ac33bf0258b24e238076e92163ca21e (diff)
downloadcpython-4f6e4fbc1de5d23a865106b0e7a2a311c3cd2294.zip
cpython-4f6e4fbc1de5d23a865106b0e7a2a311c3cd2294.tar.gz
cpython-4f6e4fbc1de5d23a865106b0e7a2a311c3cd2294.tar.bz2
Added "See also" reference to xdrlib.
Markup nits.
Diffstat (limited to 'Doc/lib/libarray.tex')
-rw-r--r--Doc/lib/libarray.tex21
1 files changed, 11 insertions, 10 deletions
diff --git a/Doc/lib/libarray.tex b/Doc/lib/libarray.tex
index 38342a3..d4dc2f0 100644
--- a/Doc/lib/libarray.tex
+++ b/Doc/lib/libarray.tex
@@ -1,17 +1,17 @@
\section{\module{array} ---
- Efficient arrays of uniformly typed numeric values.}
-\declaremodule{builtin}{array}
+ Efficient arrays of numeric values}
+\declaremodule{builtin}{array}
\modulesynopsis{Efficient arrays of uniformly typed numeric values.}
-\index{arrays}
This module defines a new object type which can efficiently represent
an array of basic values: characters, integers, floating point
-numbers. Arrays are sequence types and behave very much like lists,
-except that the type of objects stored in them is constrained. The
-type is specified at object creation time by using a \dfn{type code},
-which is a single character. The following type codes are defined:
+numbers. Arrays\index{arrays} are sequence types and behave very much
+like lists, except that the type of objects stored in them is
+constrained. The type is specified at object creation time by using a
+\dfn{type code}, which is a single character. The following type
+codes are defined:
\begin{tableiii}{c|l|c}{code}{Type code}{C Type}{Minimum size in bytes}
\lineiii{'c'}{character}{1}
@@ -28,11 +28,11 @@ which is a single character. The following type codes are defined:
\end{tableiii}
The actual representation of values is determined by the machine
-architecture (strictly speaking, by the \C{} implementation). The actual
+architecture (strictly speaking, by the C implementation). The actual
size can be accessed through the \member{itemsize} attribute. The values
stored for \code{'L'} and \code{'I'} items will be represented as
Python long integers when retrieved, because Python's plain integer
-type cannot represent the full range of \C{}'s unsigned (long) integers.
+type cannot represent the full range of C's unsigned (long) integers.
The module defines the following function and type object:
@@ -160,5 +160,6 @@ array('d', [1.0, 2.0, 3.14])
\begin{seealso}
-\seemodule{struct}{Packing and unpacking of heterogeneous binary data.}
+ \seemodule{struct}{packing and unpacking of heterogeneous binary data}
+ \seemodule{xdrlib{{packing and unpacking of XDR data}
\end{seealso}