Document xreadlines() method. (Forgot to check this in before!)

This commit is contained in:
Guido van Rossum 2001-01-17 01:18:00 +00:00
parent e54e0be3b6
commit 20ab9e9c0a
1 changed files with 4 additions and 0 deletions

View File

@ -1112,6 +1112,10 @@ Files have the following methods:
implemented, or cannot be implemented efficiently.
\end{methoddesc}
\begin{methoddesc}[file]{xreadlines}{}
Equivalent to \function{xreadlines.xreadlines(file)}.\refstmodindex{xreadlines}
\end{methoddesc}
\begin{methoddesc}[file]{seek}{offset\optional{, whence}}
Set the file's current position, like \code{stdio}'s \cfunction{fseek()}.
The \var{whence} argument is optional and defaults to \code{0}