diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2011-10-12 17:10:10 (GMT) |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2011-10-12 17:10:10 (GMT) |
commit | 4272d6a315ba0281ccfd5d4c842c53111e9f4ae3 (patch) | |
tree | 7e27db94e3d4da81566e19061ad4abb7bf23b243 /Doc/library/chunk.rst | |
parent | a787b650d4dc728674b7c490d5aa8a3d10903fdc (diff) | |
download | cpython-4272d6a315ba0281ccfd5d4c842c53111e9f4ae3.zip cpython-4272d6a315ba0281ccfd5d4c842c53111e9f4ae3.tar.gz cpython-4272d6a315ba0281ccfd5d4c842c53111e9f4ae3.tar.bz2 |
Fix some mentions of IOError
Diffstat (limited to 'Doc/library/chunk.rst')
-rw-r--r-- | Doc/library/chunk.rst | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Doc/library/chunk.rst b/Doc/library/chunk.rst index d3558a4..c1ba497 100644 --- a/Doc/library/chunk.rst +++ b/Doc/library/chunk.rst @@ -84,8 +84,9 @@ instance will fail with a :exc:`EOFError` exception. Close and skip to the end of the chunk. This does not close the underlying file. - The remaining methods will raise :exc:`IOError` if called after the - :meth:`close` method has been called. + The remaining methods will raise :exc:`OSError` if called after the + :meth:`close` method has been called. Before Python 3.3, they used to + raise :exc:`IOError`, now an alias of :exc:`OSError`. .. method:: isatty() |