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

@ -154,7 +154,7 @@ The following is a very popular anti-idiom ::
Consider the case the file gets deleted between the time the call to
:func:`os.path.exists` is made and the time :func:`open` is called. That means
the last line will throw an :exc:`IOError`. The same would happen if *file*
the last line will raise an :exc:`IOError`. The same would happen if *file*
exists but has no read permission. Since testing this on a normal machine on
existing and non-existing files make it seem bugless, that means in testing the
results will seem fine, and the code will get shipped. Then an unhandled