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

@ -145,7 +145,7 @@ An exception is defined as well:
Method called when an unrecognized SGML declaration is read by the parser.
The *data* parameter will be the entire contents of the declaration inside
the ``<!...>`` markup. It is sometimes useful to be be overridden by a
derived class; the base class implementation throws an :exc:`HTMLParseError`.
derived class; the base class implementation raises an :exc:`HTMLParseError`.
.. method:: HTMLParser.handle_pi(data)