fix documentation for ContentHandler.ignorableWhitespace()

(closes SF bug #881707)
This commit is contained in:
Fred Drake 2004-05-06 03:47:48 +00:00
parent 56fcc233d3
commit e143bbb610
2 changed files with 2 additions and 5 deletions

View File

@ -285,7 +285,7 @@ appropriate events in the input document:
\var{length} parameters.} \var{length} parameters.}
\end{methoddesc} \end{methoddesc}
\begin{methoddesc}[ContentHandler]{ignorableWhitespace}{} \begin{methoddesc}[ContentHandler]{ignorableWhitespace}{whitespace}
Receive notification of ignorable whitespace in element content. Receive notification of ignorable whitespace in element content.
Validating Parsers must use this method to report each chunk Validating Parsers must use this method to report each chunk

View File

@ -177,10 +177,7 @@ class ContentHandler:
chunk, or they may split it into several chunks; however, all chunk, or they may split it into several chunks; however, all
of the characters in any single event must come from the same of the characters in any single event must come from the same
external entity, so that the Locator provides useful external entity, so that the Locator provides useful
information. information."""
The application must not attempt to read from the array
outside of the specified range."""
def processingInstruction(self, target, data): def processingInstruction(self, target, data):
"""Receive notification of a processing instruction. """Receive notification of a processing instruction.