[Python-checkins] r86953 - python/branches/py3k/Doc/library/html.parser.rst
r.david.murray
python-checkins at python.org
Fri Dec 3 05:26:18 CET 2010
Author: r.david.murray
Date: Fri Dec 3 05:26:18 2010
New Revision: 86953
Log:
Add missing versionchanged, correct 'throw' wording to 'raise'.
Modified:
python/branches/py3k/Doc/library/html.parser.rst
Modified: python/branches/py3k/Doc/library/html.parser.rst
==============================================================================
--- python/branches/py3k/Doc/library/html.parser.rst (original)
+++ python/branches/py3k/Doc/library/html.parser.rst Fri Dec 3 05:26:18 2010
@@ -27,6 +27,8 @@
This parser does not check that end tags match start tags or call the end-tag
handler for elements which are closed implicitly by closing an outer element.
+ .. versionchanged:: 3.2 *strict* keyword added
+
An exception is defined as well:
@@ -197,6 +199,6 @@
.. rubric:: Footnotes
-.. [#] For backward compatibility reasons *strict* mode does not throw
- errors for all non-compliant HTML. That is, some invalid HTML
+.. [#] For backward compatibility reasons *strict* mode does not raise
+ exceptions for all non-compliant HTML. That is, some invalid HTML
is tolerated even in *strict* mode.
More information about the Python-checkins
mailing list