]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
- use the same markup for the deprecation as for that of
authorFred Drake <fdrake@acm.org>
Wed, 31 Dec 2003 04:41:47 +0000 (04:41 +0000)
committerFred Drake <fdrake@acm.org>
Wed, 31 Dec 2003 04:41:47 +0000 (04:41 +0000)
  file.xreadlines()

Doc/lib/libxreadlines.tex

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