summaryrefslogtreecommitdiff
path: root/Doc/libarray.tex
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1995-03-17 16:07:09 +0000
committerGuido van Rossum <guido@python.org>1995-03-17 16:07:09 +0000
commit7f339e048c383358104f5ddb01d8c08ec493efde (patch)
treed8908807b8b348d7895e4d6aad7e407a13081d49 /Doc/libarray.tex
parentb87432316cf4688ae5d7e053b9bd65622887a5e9 (diff)
downloadcpython-7f339e048c383358104f5ddb01d8c08ec493efde.tar.gz
mass changes; fix titles; add examples; correct typos; clarifications;
unified style; etc.
Diffstat (limited to 'Doc/libarray.tex')
-rw-r--r--Doc/libarray.tex8
1 files changed, 5 insertions, 3 deletions
diff --git a/Doc/libarray.tex b/Doc/libarray.tex
index ea68fb1bb4..9e37d55142 100644
--- a/Doc/libarray.tex
+++ b/Doc/libarray.tex
@@ -1,4 +1,4 @@
-\section{Built-in module \sectcode{array}}
+\section{Built-in Module \sectcode{array}}
\bimodindex{array}
\index{arrays}
@@ -21,7 +21,7 @@ which is a single character. The following type codes are defined:
The actual representation of values is determined by the machine
architecture (strictly speaking, by the C implementation). The actual
-size can be accessed through the \var{typecode} attribute.
+size can be accessed through the \var{itemsize} attribute.
The module defines the following function:
@@ -59,7 +59,9 @@ on a machine with a different byte order.
Read \var{n} items (as machine values) from the file object \var{f}
and append them to the end of the array. If less than \var{n} items
are available, \code{EOFError} is raised, but the items that were
-available are still inserted into the array.
+available are still inserted into the array. \var{f} must be a real
+built-in file object; something else with a \code{read()} method won't
+do.
\end{funcdesc}
\begin{funcdesc}{fromlist}{list}