mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
#9184: fix default value for "buffering" param of open().
This commit is contained in:
parent
de41bf3dd5
commit
e40ee509e3
2 changed files with 2 additions and 2 deletions
|
@ -176,7 +176,7 @@ PyObject *PyExc_BlockingIOError = (PyObject *)&_PyExc_BlockingIOError;
|
|||
* The main open() function
|
||||
*/
|
||||
PyDoc_STRVAR(open_doc,
|
||||
"open(file, mode='r', buffering=None, encoding=None,\n"
|
||||
"open(file, mode='r', buffering=-1, encoding=None,\n"
|
||||
" errors=None, newline=None, closefd=True) -> file object\n"
|
||||
"\n"
|
||||
"Open file and return a stream. Raise IOError upon failure.\n"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue