From: Benjamin Peterson Date: Tue, 20 Oct 2009 21:55:17 +0000 (+0000) Subject: clarify buffer arg #7178 X-Git-Tag: v2.7a1~296 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=eb7c3776599cd4c8f90b2f8a320e95c312705c79;p=python clarify buffer arg #7178 --- diff --git a/Doc/library/io.rst b/Doc/library/io.rst index a85e9242b7..3308639035 100644 --- a/Doc/library/io.rst +++ b/Doc/library/io.rst @@ -108,8 +108,8 @@ Module Interface *buffering* is an optional integer used to set the buffering policy. By default full buffering is on. Pass 0 to switch buffering off (only allowed - in binary mode), 1 to set line buffering, and an integer > 1 for full - buffering. + in binary mode), 1 to set line buffering, and an integer > 1 to indicate the + size of the buffer. *encoding* is the name of the encoding used to decode or encode the file. This should only be used in text mode. The default encoding is platform