diff options
author | Guido van Rossum <guido@python.org> | 2002-08-06 17:01:28 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2002-08-06 17:01:28 (GMT) |
commit | 0fc01865f3a71f84484b0424d7e8952e35855bc7 (patch) | |
tree | 3e53a9e1d4402322f8e4e0e04fb8e52f38e80346 /Doc/lib/libxreadlines.tex | |
parent | 817918cc3c10d0ed6b14e0e3f2bc0c5227c508cd (diff) | |
download | cpython-0fc01865f3a71f84484b0424d7e8952e35855bc7.zip cpython-0fc01865f3a71f84484b0424d7e8952e35855bc7.tar.gz cpython-0fc01865f3a71f84484b0424d7e8952e35855bc7.tar.bz2 |
Document file.next(). Mark xreadlines obsolete (both method and
module). (One thing remains to be done: the gzip class has an
xreadline method; this ought to be replaced by an iterator as well.)
Diffstat (limited to 'Doc/lib/libxreadlines.tex')
-rw-r--r-- | Doc/lib/libxreadlines.tex | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Doc/lib/libxreadlines.tex b/Doc/lib/libxreadlines.tex index dda56e7..f2fbe24 100644 --- a/Doc/lib/libxreadlines.tex +++ b/Doc/lib/libxreadlines.tex @@ -6,6 +6,7 @@ \versionadded{2.1} +\deprecated{2.3}{Use \code{for line in file} instead.} This module defines a new object type which can efficiently iterate over the lines of a file. An xreadlines object is a sequence type |