summaryrefslogtreecommitdiffstats
path: root/Doc/lib/libxreadlines.tex
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2003-12-31 04:41:47 (GMT)
committerFred Drake <fdrake@acm.org>2003-12-31 04:41:47 (GMT)
commit6f51a72a61954110598fabaff19c903342ff6a22 (patch)
treed45c86ae1ca12f52078e6a8e116d6a35a82b97ce /Doc/lib/libxreadlines.tex
parentae55d5f3cb36d82154c67b119632d8bf1cee52e3 (diff)
downloadcpython-6f51a72a61954110598fabaff19c903342ff6a22.zip
cpython-6f51a72a61954110598fabaff19c903342ff6a22.tar.gz
cpython-6f51a72a61954110598fabaff19c903342ff6a22.tar.bz2
- use the same markup for the deprecation as for that of
file.xreadlines()
Diffstat (limited to 'Doc/lib/libxreadlines.tex')
-rw-r--r--Doc/lib/libxreadlines.tex2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/lib/libxreadlines.tex b/Doc/lib/libxreadlines.tex
index f2fbe24..f74040d 100644
--- a/Doc/lib/libxreadlines.tex
+++ b/Doc/lib/libxreadlines.tex
@@ -6,7 +6,7 @@
\versionadded{2.1}
-\deprecated{2.3}{Use \code{for line in file} instead.}
+\deprecated{2.3}{Use \samp{for \var{line} in \var{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