[Python-checkins] cpython (3.2): Issue #17418: specify that buffer sizes are bytes as soon as possible.
terry.reedy
python-checkins at python.org
Sat Mar 16 21:08:49 CET 2013
http://hg.python.org/cpython/rev/a9d54ba2370b
changeset: 82693:a9d54ba2370b
branch: 3.2
parent: 82681:cec135cb059c
user: Terry Jan Reedy <tjreedy at udel.edu>
date: Sat Mar 16 15:56:27 2013 -0400
summary:
Issue #17418: specify that buffer sizes are bytes as soon as possible.
files:
Doc/library/functions.rst | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/Doc/library/functions.rst b/Doc/library/functions.rst
--- a/Doc/library/functions.rst
+++ b/Doc/library/functions.rst
@@ -868,8 +868,8 @@
*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
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list