summaryrefslogtreecommitdiffstats
path: root/Doc/lib/libtypes.tex
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1998-02-08 22:51:09 (GMT)
committerGuido van Rossum <guido@python.org>1998-02-08 22:51:09 (GMT)
commit8083c176a3e7c31996f06bb209bedd448145e87c (patch)
tree08773f6b4da794d9560444ef5d4f850d12b4d163 /Doc/lib/libtypes.tex
parent6e91c6a34458efe77af0bce7abde706204ba0e64 (diff)
downloadcpython-8083c176a3e7c31996f06bb209bedd448145e87c.zip
cpython-8083c176a3e7c31996f06bb209bedd448145e87c.tar.gz
cpython-8083c176a3e7c31996f06bb209bedd448145e87c.tar.bz2
Add a note about rounding up of readlines()' sizehint to 8K.
Diffstat (limited to 'Doc/lib/libtypes.tex')
-rw-r--r--Doc/lib/libtypes.tex3
1 files changed, 2 insertions, 1 deletions
diff --git a/Doc/lib/libtypes.tex b/Doc/lib/libtypes.tex
index 6cb66f9..dfe1ecb 100644
--- a/Doc/lib/libtypes.tex
+++ b/Doc/lib/libtypes.tex
@@ -737,7 +737,8 @@ descriptors, e.g. module \code{fcntl} or \code{os.read()} and friends.
Read until \EOF{} using \code{readline()} and return a list containing
the lines thus read. If the optional \var{sizehint} argument is
present, instead of reading up to \EOF{}, whole lines totalling
- approximately \var{sizehint} bytes are read.
+ approximately \var{sizehint} bytes (possibly after rounding up to an
+ internal buffer size) are read.
\end{funcdesc}
\begin{funcdesc}{seek}{offset\, whence}