From d05c74f42d29e0a050bd034bee3fd8c598471276 Mon Sep 17 00:00:00 2001 From: Fred Drake Date: Mon, 6 May 2002 16:02:42 +0000 Subject: Add a note explaining the interaction between unbuffered input and xreadlines.xreadlines(). This closes SF patch #552804. --- Doc/lib/libxreadlines.tex | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Doc/lib/libxreadlines.tex b/Doc/lib/libxreadlines.tex index d824fc3..dda56e7 100644 --- a/Doc/lib/libxreadlines.tex +++ b/Doc/lib/libxreadlines.tex @@ -38,7 +38,9 @@ former case. \begin{funcdesc}{xreadlines}{fileobj} Return a new xreadlines object which will iterate over the contents of \var{fileobj}. \var{fileobj} must have a \method{readlines()} - method that supports the \var{sizehint} parameter. + method that supports the \var{sizehint} parameter. \note{Because + the \method{readlines()} method buffers data, this effectively + ignores the effects of setting the file object as unbuffered.} \end{funcdesc} An xreadlines object \var{s} supports the following sequence -- cgit v0.12