mirror of
https://github.com/python/cpython.git
synced 2026-01-27 01:32:20 +00:00
clarify buffer arg #7178
This commit is contained in:
parent
efb60c0ceb
commit
eb7c377659
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue