diff Doc/libarray.tex @ 2576:f47bc5554418 legacy-trunk

mass changes; fix titles; add examples; correct typos; clarifications; unified style; etc.
author Guido van Rossum <guido@python.org>
date Fri, 17 Mar 1995 16:07:09 +0000
parents fb8e08ec88dd
children 7ef72873e4d6
line wrap: on
line diff
--- a/Doc/libarray.tex	Fri Mar 17 16:03:11 1995 +0000
+++ b/Doc/libarray.tex	Fri Mar 17 16:07:09 1995 +0000
@@ -1,4 +1,4 @@
-\section{Built-in module \sectcode{array}}
+\section{Built-in Module \sectcode{array}}
 \bimodindex{array}
 \index{arrays}
 
@@ -21,7 +21,7 @@
 
 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 @@
 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}