summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2001-01-17 01:18:00 (GMT)
committerGuido van Rossum <guido@python.org>2001-01-17 01:18:00 (GMT)
commit20ab9e9c0ac4e9a3081aa0400a46c0d3bacd30f5 (patch)
tree5d5fe49e6a3a8014b4689f81fddd67a8710d2489 /Doc
parente54e0be3b6f611914a078ec646a269a71fa8bf7f (diff)
downloadcpython-20ab9e9c0ac4e9a3081aa0400a46c0d3bacd30f5.zip
cpython-20ab9e9c0ac4e9a3081aa0400a46c0d3bacd30f5.tar.gz
cpython-20ab9e9c0ac4e9a3081aa0400a46c0d3bacd30f5.tar.bz2
Document xreadlines() method. (Forgot to check this in before!)
Diffstat (limited to 'Doc')
-rw-r--r--Doc/lib/libstdtypes.tex4
1 files changed, 4 insertions, 0 deletions
diff --git a/Doc/lib/libstdtypes.tex b/Doc/lib/libstdtypes.tex
index 6b3683a..7d65806 100644
--- a/Doc/lib/libstdtypes.tex
+++ b/Doc/lib/libstdtypes.tex
@@ -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}