summaryrefslogtreecommitdiffstats
path: root/Doc/library
diff options
context:
space:
mode:
authorEzio Melotti <ezio.melotti@gmail.com>2011-11-01 12:12:22 (GMT)
committerEzio Melotti <ezio.melotti@gmail.com>2011-11-01 12:12:22 (GMT)
commit7de56f6a04ab60010b3e2185752b3ddf681d068d (patch)
treebc342dd5fe10f3d8a641375ac9410cbb66e5b1f1 /Doc/library
parent4bfe03a42e4cc7e0c0504db520c6d68b302d67bd (diff)
downloadcpython-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')
-rw-r--r--Doc/library/html.parser.rst3
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.