summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2004-05-06 03:47:48 (GMT)
committerFred Drake <fdrake@acm.org>2004-05-06 03:47:48 (GMT)
commite143bbb61034396cd2d5c4ecaa4f313e62ea2a3e (patch)
treeb5c948db2bd1bb0697fb45e689256c45477add1f
parent56fcc233d3c83c8fdba67bfbbc4ab76c4c978cc6 (diff)
downloadcpython-e143bbb61034396cd2d5c4ecaa4f313e62ea2a3e.zip
cpython-e143bbb61034396cd2d5c4ecaa4f313e62ea2a3e.tar.gz
cpython-e143bbb61034396cd2d5c4ecaa4f313e62ea2a3e.tar.bz2
fix documentation for ContentHandler.ignorableWhitespace()
(closes SF bug #881707)
-rw-r--r--Doc/lib/xmlsaxhandler.tex2
-rw-r--r--Lib/xml/sax/handler.py5
2 files changed, 2 insertions, 5 deletions
diff --git a/Doc/lib/xmlsaxhandler.tex b/Doc/lib/xmlsaxhandler.tex
index c5858fc..c523ddb 100644
--- a/Doc/lib/xmlsaxhandler.tex
+++ b/Doc/lib/xmlsaxhandler.tex
@@ -285,7 +285,7 @@ appropriate events in the input document:
\var{length} parameters.}
\end{methoddesc}
-\begin{methoddesc}[ContentHandler]{ignorableWhitespace}{}
+\begin{methoddesc}[ContentHandler]{ignorableWhitespace}{whitespace}
Receive notification of ignorable whitespace in element content.
Validating Parsers must use this method to report each chunk
diff --git a/Lib/xml/sax/handler.py b/Lib/xml/sax/handler.py
index 25d55c1..f9e91b6 100644
--- a/Lib/xml/sax/handler.py
+++ b/Lib/xml/sax/handler.py
@@ -177,10 +177,7 @@ class ContentHandler:
chunk, or they may split it into several chunks; however, all
of the characters in any single event must come from the same
external entity, so that the Locator provides useful
- information.
-
- The application must not attempt to read from the array
- outside of the specified range."""
+ information."""
def processingInstruction(self, target, data):
"""Receive notification of a processing instruction.