Kaydet (Commit) d05c74f4 authored tarafından Fred Drake's avatar Fred Drake

Add a note explaining the interaction between unbuffered input and

xreadlines.xreadlines().
This closes SF patch #552804.
üst 0b5c1125
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment