Kaydet (Commit) e143bbb6 authored tarafından Fred Drake's avatar Fred Drake

fix documentation for ContentHandler.ignorableWhitespace()

(closes SF bug #881707)
üst 56fcc233
...@@ -285,7 +285,7 @@ appropriate events in the input document: ...@@ -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
......
...@@ -177,10 +177,7 @@ class ContentHandler: ...@@ -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.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment