Terminology fix: exceptions are raised, except in generator.throw().

This commit is contained in:
Georg Brandl 2010-08-03 12:06:29 +00:00
parent e8e02e3b5b
commit 7cb1319688
17 changed files with 32 additions and 32 deletions

View file

@ -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