diff options
author | Guido van Rossum <guido@python.org> | 1995-03-17 16:07:09 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1995-03-17 16:07:09 (GMT) |
commit | 470be14c8aa23a35a1f4d1f1260a66a85d3f3cd9 (patch) | |
tree | 4fd0b8eda81e63366598e55362ceac85adafccb4 /Doc/lib/libarray.tex | |
parent | 7760cdea81166b7741561043c58dae171811fb2f (diff) | |
download | cpython-470be14c8aa23a35a1f4d1f1260a66a85d3f3cd9.zip cpython-470be14c8aa23a35a1f4d1f1260a66a85d3f3cd9.tar.gz cpython-470be14c8aa23a35a1f4d1f1260a66a85d3f3cd9.tar.bz2 |
mass changes; fix titles; add examples; correct typos; clarifications;
unified style; etc.
Diffstat (limited to 'Doc/lib/libarray.tex')
-rw-r--r-- | Doc/lib/libarray.tex | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/Doc/lib/libarray.tex b/Doc/lib/libarray.tex index ea68fb1..9e37d55 100644 --- a/Doc/lib/libarray.tex +++ b/Doc/lib/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} |