mirror of https://github.com/python/cpython
Document xreadlines() method. (Forgot to check this in before!)
This commit is contained in:
parent
e54e0be3b6
commit
20ab9e9c0a
|
@ -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}
|
||||
|
|
Loading…
Reference in New Issue