]> granicus.if.org Git - python/commitdiff
fix documentation for ContentHandler.ignorableWhitespace()
authorFred Drake <fdrake@acm.org>
Thu, 6 May 2004 03:47:48 +0000 (03:47 +0000)
committerFred Drake <fdrake@acm.org>
Thu, 6 May 2004 03:47:48 +0000 (03:47 +0000)
(closes SF bug #881707)

Doc/lib/xmlsaxhandler.tex
Lib/xml/sax/handler.py

index c5858fc27b3c28b2c04bcaf145cf62b5f70b0208..c523ddbb3e0596709b911a4573cb5a10cdb6ee1b 100644 (file)
@@ -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
index 25d55c1df53ec8e26990835a1ca6fa12424cf93b..f9e91b6d470423d643f4745fb9e19c41e794b4e3 100644 (file)
@@ -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.