Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d05c74f

Browse files
committed
Add a note explaining the interaction between unbuffered input and
xreadlines.xreadlines(). This closes SF patch #552804.
1 parent 0b5c112 commit d05c74f

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

Doc/lib/libxreadlines.tex

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,9 @@ \section{\module{xreadlines} ---
3838
\begin{funcdesc}{xreadlines}{fileobj}
3939
Return a new xreadlines object which will iterate over the contents
4040
of \var{fileobj}. \var{fileobj} must have a \method{readlines()}
41-
method that supports the \var{sizehint} parameter.
41+
method that supports the \var{sizehint} parameter. \note{Because
42+
the \method{readlines()} method buffers data, this effectively
43+
ignores the effects of setting the file object as unbuffered.}
4244
\end{funcdesc}
4345

4446
An xreadlines object \var{s} supports the following sequence

0 commit comments

Comments
 (0)