diff options
author | Benjamin Peterson <benjamin@python.org> | 2010-04-27 21:07:21 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2010-04-27 21:07:21 (GMT) |
commit | 95e392c1115f091160a2fe3d400ef5231546a646 (patch) | |
tree | 77f14a99c02cc06f479382649b02463a3afda78c /Doc | |
parent | 06e34a9476f7b0cd14b1dcc023892d7193230703 (diff) | |
download | cpython-95e392c1115f091160a2fe3d400ef5231546a646.zip cpython-95e392c1115f091160a2fe3d400ef5231546a646.tar.gz cpython-95e392c1115f091160a2fe3d400ef5231546a646.tar.bz2 |
Merged revisions 80544 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r80544 | benjamin.peterson | 2010-04-27 16:01:54 -0500 (Tue, 27 Apr 2010) | 1 line
reject None as the buffering argument like the C implementation does #8546
........
Diffstat (limited to 'Doc')
-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. |