From: Fred Drake Date: Sun, 22 Apr 2001 01:58:00 +0000 (+0000) Subject: Only document .xreadlines() once; added version annotation. X-Git-Tag: v2.1.1c1~149 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1d0b183fd673ef06ec471fe9f7abd0b252784ee3;p=thirdparty%2FPython%2Fcpython.git Only document .xreadlines() once; added version annotation. This closes SF bug #417943 (in the maintenance branch). --- diff --git a/Doc/lib/libstdtypes.tex b/Doc/lib/libstdtypes.tex index fc17785a0eff..62435fdcfdfe 100644 --- a/Doc/lib/libstdtypes.tex +++ b/Doc/lib/libstdtypes.tex @@ -1192,7 +1192,10 @@ Files have the following methods: \end{methoddesc} \begin{methoddesc}[file]{xreadlines}{} - Equivalent to \function{xreadlines.xreadlines(file)}.\refstmodindex{xreadlines} + Equivalent to + \function{xreadlines.xreadlines(\var{file})}.\refstmodindex{xreadlines} + (See the \refmodule{xreadlines} module for more information.) + \versionadded{2.1} \end{methoddesc} \begin{methoddesc}[file]{seek}{offset\optional{, whence}} @@ -1233,12 +1236,6 @@ Files have the following methods: \method{writelines()} does not add line separators.) \end{methoddesc} -\begin{methoddesc}[file]{xreadlines}{} - Equivalent to - \function{xreadlines.xreadlines(\var{file})}.\refstmodindex{xreadlines} - (See the \refmodule{xreadlines} module for more information.) -\end{methoddesc} - File objects also offer a number of other interesting attributes. These are not required for file-like objects, but should be