Commit 2343090e authored by Benjamin Peterson's avatar Benjamin Peterson

link to builtin open not io.open

parent f6d039ec
...@@ -434,12 +434,12 @@ functions. ...@@ -434,12 +434,12 @@ functions.
untrusted input. See the warning under :ref:`frequently-used-arguments` untrusted input. See the warning under :ref:`frequently-used-arguments`
for details. for details.
*bufsize* will be supplied as the corresponding argument to the :meth:`io.open` *bufsize* will be supplied as the corresponding argument to the :func:`open`
function when creating the stdin/stdout/stderr pipe file objects: function when creating the stdin/stdout/stderr pipe file objects: :const:`0`
:const:`0` means unbuffered (read and write are one system call and can return short), means unbuffered (read and write are one system call and can return short),
:const:`1` means line buffered, any other positive value means use a buffer of :const:`1` means line buffered, any other positive value means use a buffer
approximately that size. A negative bufsize (the default) means of approximately that size. A negative bufsize (the default) means the
the system default of io.DEFAULT_BUFFER_SIZE will be used. system default of io.DEFAULT_BUFFER_SIZE will be used.
.. versionchanged:: 3.3.1 .. versionchanged:: 3.3.1
*bufsize* now defaults to -1 to enable buffering by default to match the *bufsize* now defaults to -1 to enable buffering by default to match the
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment