summaryrefslogtreecommitdiffstats
path: root/Doc
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
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')
-rw-r--r--Doc/lib/libtypes.tex3
-rw-r--r--Doc/libtypes.tex3
2 files changed, 4 insertions, 2 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}
diff --git a/Doc/libtypes.tex b/Doc/libtypes.tex
index 6cb66f9..dfe1ecb 100644
--- a/Doc/libtypes.tex
+++ b/Doc/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}