]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Backport 1.4 documenting the impending deprecation of xreadlines.
authorRaymond Hettinger <python@rcn.com>
Sun, 6 Oct 2002 02:29:03 +0000 (02:29 +0000)
committerRaymond Hettinger <python@rcn.com>
Sun, 6 Oct 2002 02:29:03 +0000 (02:29 +0000)
Doc/lib/libxreadlines.tex

index dda56e7f2fdef61fac23988068350fe71f4a630b..f2fbe24c92f4b0e5255740d115025e98c27bb2c4 100644 (file)
@@ -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