We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d3c1214 commit 669b8faCopy full SHA for 669b8fa
Doc/library/functions.rst
@@ -1220,7 +1220,7 @@ are always available. They are listed here in alphabetical order.
1220
1221
*buffering* is an optional integer used to set the buffering policy. Pass 0
1222
to switch buffering off (only allowed in binary mode), 1 to select line
1223
- buffering (only usable in text mode), and an integer > 1 to indicate the size
+ buffering (only usable when writing in text mode), and an integer > 1 to indicate the size
1224
in bytes of a fixed-size chunk buffer. Note that specifying a buffer size this
1225
way applies for binary buffered I/O, but ``TextIOWrapper`` (i.e., files opened
1226
with ``mode='r+'``) would have another buffering. To disable buffering in
0 commit comments