mirror of
https://github.com/python/cpython.git
synced 2025-11-03 03:22:27 +00:00
Terminology fix: exceptions are raised, except in generator.throw().
This commit is contained in:
parent
e8e02e3b5b
commit
7cb1319688
17 changed files with 32 additions and 32 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue