diff options
author | Georg Brandl <georg@python.org> | 2010-07-11 09:33:39 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2010-07-11 09:33:39 (GMT) |
commit | e40ee509e35edd7dcab4009c4a65efc626527bb8 (patch) | |
tree | 07efb60876766e3849614c6314d7951e1df242ab /Doc | |
parent | de41bf3dd5bd5640a24ed3b11ceb53722ccaf528 (diff) | |
download | cpython-e40ee509e35edd7dcab4009c4a65efc626527bb8.zip cpython-e40ee509e35edd7dcab4009c4a65efc626527bb8.tar.gz cpython-e40ee509e35edd7dcab4009c4a65efc626527bb8.tar.bz2 |
#9184: fix default value for "buffering" param of open().
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/library/functions.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/functions.rst b/Doc/library/functions.rst index a7a9e47..8089df1 100644 --- a/Doc/library/functions.rst +++ b/Doc/library/functions.rst @@ -676,7 +676,7 @@ are always available. They are listed here in alphabetical order. :meth:`__index__` method that returns an integer. -.. 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. |