diff options
author | Georg Brandl <georg@python.org> | 2010-08-03 12:06:29 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2010-08-03 12:06:29 (GMT) |
commit | 7cb13196882e49d9d02f1b9eb7f9980cda77fd0c (patch) | |
tree | 779e11d7fdf0ad43a4dca32e978d6fdee6c4e4ce /Doc/library/io.rst | |
parent | e8e02e3b5bcb28ff76975c3f9a29af874e005f81 (diff) | |
download | cpython-7cb13196882e49d9d02f1b9eb7f9980cda77fd0c.zip cpython-7cb13196882e49d9d02f1b9eb7f9980cda77fd0c.tar.gz cpython-7cb13196882e49d9d02f1b9eb7f9980cda77fd0c.tar.bz2 |
Terminology fix: exceptions are raised, except in generator.throw().
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 498cbc8..0826ebd 100644 --- a/Doc/library/io.rst +++ b/Doc/library/io.rst @@ -17,7 +17,7 @@ built-in :func:`open` function is defined in this module. At the top of the I/O hierarchy is the abstract base class :class:`IOBase`. It defines the basic interface to a stream. Note, however, that there is no separation between reading and writing to streams; implementations are allowed -to throw an :exc:`IOError` if they do not support a given operation. +to raise an :exc:`IOError` if they do not support a given operation. Extending :class:`IOBase` is :class:`RawIOBase` which deals simply with the reading and writing of raw bytes to a stream. :class:`FileIO` subclasses |