summaryrefslogtreecommitdiffstats
path: root/Doc/library/functions.rst
diff options
context:
space:
mode:
authorTerry Jan Reedy <tjreedy@udel.edu>2013-03-16 19:56:27 (GMT)
committerTerry Jan Reedy <tjreedy@udel.edu>2013-03-16 19:56:27 (GMT)
commitdff04f44bc0a6f2964b71581934fb1d3f7335fd1 (patch)
treed5154fda32d555ca78d0cfbf01720dd931c28b06 /Doc/library/functions.rst
parent58e1e50be1c19975cdff92f0670b9cff985b2308 (diff)
downloadcpython-dff04f44bc0a6f2964b71581934fb1d3f7335fd1.zip
cpython-dff04f44bc0a6f2964b71581934fb1d3f7335fd1.tar.gz
cpython-dff04f44bc0a6f2964b71581934fb1d3f7335fd1.tar.bz2
Issue #17418: specify that buffer sizes are bytes as soon as possible.
Diffstat (limited to 'Doc/library/functions.rst')
-rw-r--r--Doc/library/functions.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/functions.rst b/Doc/library/functions.rst
index 99f8335..93d35f8 100644
--- a/Doc/library/functions.rst
+++ b/Doc/library/functions.rst
@@ -868,8 +868,8 @@ are always available. They are listed here in alphabetical order.
*buffering* is an optional integer used to set the buffering policy. Pass 0
to switch buffering off (only allowed in binary mode), 1 to select line
buffering (only usable in text mode), and an integer > 1 to indicate the size
- of a fixed-size chunk buffer. When no *buffering* argument is given, the
- default buffering policy works as follows:
+ in bytes of a fixed-size chunk buffer. When no *buffering* argument is
+ given, the default buffering policy works as follows:
* Binary files are buffered in fixed-size chunks; the size of the buffer is
chosen using a heuristic trying to determine the underlying device's "block