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.
-
-Also available as the \method{read()} method.
\end{funcdesc}
\begin{funcdesc}{fromlist}{list}
\end{funcdesc}
\begin{funcdesc}{read}{f\, n}
+\deprecated {1.5.1}
+ {Use the \method{fromfile()} method.}
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, \exception{EOFError} is raised, but the items that were
available are still inserted into the array. \var{f} must be a real
built-in file object; something else with a \method{read()} method won't
do.
-
-Also available as the \method{fromfile()} method.
\end{funcdesc}
\begin{funcdesc}{reverse}{}
\begin{funcdesc}{tofile}{f}
Write all items (as machine values) to the file object \var{f}.
-
-Also available as the \function{write()} function.
\end{funcdesc}
\begin{funcdesc}{tolist}{}
\end{funcdesc}
\begin{funcdesc}{write}{f}
+\deprecated {1.5.1}
+ {Use the \method{tofile()} method.}
Write all items (as machine values) to the file object \var{f}.
-
-Also available as the \function{write()} function.
\end{funcdesc}
When an array object is printed or converted to a string, it is
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.
-
-Also available as the \method{read()} method.
\end{funcdesc}
\begin{funcdesc}{fromlist}{list}
\end{funcdesc}
\begin{funcdesc}{read}{f\, n}
+\deprecated {1.5.1}
+ {Use the \method{fromfile()} method.}
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, \exception{EOFError} is raised, but the items that were
available are still inserted into the array. \var{f} must be a real
built-in file object; something else with a \method{read()} method won't
do.
-
-Also available as the \method{fromfile()} method.
\end{funcdesc}
\begin{funcdesc}{reverse}{}
\begin{funcdesc}{tofile}{f}
Write all items (as machine values) to the file object \var{f}.
-
-Also available as the \function{write()} function.
\end{funcdesc}
\begin{funcdesc}{tolist}{}
\end{funcdesc}
\begin{funcdesc}{write}{f}
+\deprecated {1.5.1}
+ {Use the \method{tofile()} method.}
Write all items (as machine values) to the file object \var{f}.
-
-Also available as the \function{write()} function.
\end{funcdesc}
When an array object is printed or converted to a string, it is