Thanks to visit codestin.com Credit goes to github.com
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 4ec849b commit fafae08Copy full SHA for fafae08
1 file changed
Doc/library/functions.rst
@@ -1221,7 +1221,7 @@ are always available. They are listed here in alphabetical order.
1221
1222
*buffering* is an optional integer used to set the buffering policy. Pass 0
1223
to switch buffering off (only allowed in binary mode), 1 to select line
1224
- 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
1225
in bytes of a fixed-size chunk buffer. Note that specifying a buffer size this
1226
way applies for binary buffered I/O, but ``TextIOWrapper`` (i.e., files opened
1227
with ``mode='r+'``) would have another buffering. To disable buffering in
0 commit comments