diff options
author | Fred Drake <fdrake@acm.org> | 2002-05-06 16:02:42 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2002-05-06 16:02:42 (GMT) |
commit | d05c74f42d29e0a050bd034bee3fd8c598471276 (patch) | |
tree | 8da29ea2dad921a23d9a4900f11897f904004467 /Doc | |
parent | 0b5c11252da09a244cb39de47909ed07f4fa82cf (diff) | |
download | cpython-d05c74f42d29e0a050bd034bee3fd8c598471276.zip cpython-d05c74f42d29e0a050bd034bee3fd8c598471276.tar.gz cpython-d05c74f42d29e0a050bd034bee3fd8c598471276.tar.bz2 |
Add a note explaining the interaction between unbuffered input and
xreadlines.xreadlines().
This closes SF patch #552804.
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/lib/libxreadlines.tex | 4 |
1 files changed, 3 insertions, 1 deletions
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 |