mirror of
https://github.com/AdaCore/cpython.git
synced 2026-02-12 12:57:15 -08:00
clarify buffer arg #7178
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user