summaryrefslogtreecommitdiffstats
path: root/Doc/library/html.parser.rst
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2010-08-03 12:06:29 (GMT)
committerGeorg Brandl <georg@python.org>2010-08-03 12:06:29 (GMT)
commit7cb13196882e49d9d02f1b9eb7f9980cda77fd0c (patch)
tree779e11d7fdf0ad43a4dca32e978d6fdee6c4e4ce /Doc/library/html.parser.rst
parente8e02e3b5bcb28ff76975c3f9a29af874e005f81 (diff)
downloadcpython-7cb13196882e49d9d02f1b9eb7f9980cda77fd0c.zip
cpython-7cb13196882e49d9d02f1b9eb7f9980cda77fd0c.tar.gz
cpython-7cb13196882e49d9d02f1b9eb7f9980cda77fd0c.tar.bz2
Terminology fix: exceptions are raised, except in generator.throw().
Diffstat (limited to 'Doc/library/html.parser.rst')
-rw-r--r--Doc/library/html.parser.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/html.parser.rst b/Doc/library/html.parser.rst
index c38cf2a..2bc6555 100644
--- a/Doc/library/html.parser.rst
+++ b/Doc/library/html.parser.rst
@@ -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)