diff options
Diffstat (limited to 'Doc/library/io.rst')
-rw-r--r-- | Doc/library/io.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/io.rst b/Doc/library/io.rst index c3ebe9a..4511ce6 100644 --- a/Doc/library/io.rst +++ b/Doc/library/io.rst @@ -56,7 +56,7 @@ Module Interface classes. :func:`.open` uses the file's blksize (as obtained by :func:`os.stat`) if possible. -.. function:: open(file, mode='r', buffering=None, encoding=None, errors=None, newline=None, closefd=True) +.. function:: open(file, mode='r', buffering=-1, encoding=None, errors=None, newline=None, closefd=True) Open *file* and return a corresponding stream. If the file cannot be opened, an :exc:`IOError` is raised. |