diff options
author | Ezio Melotti <ezio.melotti@gmail.com> | 2011-11-01 12:12:22 (GMT) |
---|---|---|
committer | Ezio Melotti <ezio.melotti@gmail.com> | 2011-11-01 12:12:22 (GMT) |
commit | 7de56f6a04ab60010b3e2185752b3ddf681d068d (patch) | |
tree | bc342dd5fe10f3d8a641375ac9410cbb66e5b1f1 /Doc/library/html.parser.rst | |
parent | 4bfe03a42e4cc7e0c0504db520c6d68b302d67bd (diff) | |
download | cpython-7de56f6a04ab60010b3e2185752b3ddf681d068d.zip cpython-7de56f6a04ab60010b3e2185752b3ddf681d068d.tar.gz cpython-7de56f6a04ab60010b3e2185752b3ddf681d068d.tar.bz2 |
#670664: Fix HTMLParser to correctly handle the content of ``<script>...</script>`` and ``<style>...</style>``.
Diffstat (limited to 'Doc/library/html.parser.rst')
-rw-r--r-- | Doc/library/html.parser.rst | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Doc/library/html.parser.rst b/Doc/library/html.parser.rst index 0dc81a5..7c44bec 100644 --- a/Doc/library/html.parser.rst +++ b/Doc/library/html.parser.rst @@ -115,7 +115,8 @@ An exception is defined as well: .. method:: HTMLParser.handle_data(data) - This method is called to process arbitrary data. It is intended to be + This method is called to process arbitrary data (e.g. the content of + ``<script>...</script>`` and ``<style>...</style>``). It is intended to be overridden by a derived class; the base class implementation does nothing. |