mirror of
https://github.com/python/cpython.git
synced 2024-12-03 23:06:43 +08:00
fix documentation for ContentHandler.ignorableWhitespace()
(closes SF bug #881707)
This commit is contained in:
parent
56fcc233d3
commit
e143bbb610
@ -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
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user