Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
e143bbb6
Commit
e143bbb6
authored
May 06, 2004
by
Fred Drake
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix documentation for ContentHandler.ignorableWhitespace()
(closes SF bug #881707)
parent
56fcc233
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
5 deletions
+2
-5
Doc/lib/xmlsaxhandler.tex
Doc/lib/xmlsaxhandler.tex
+1
-1
Lib/xml/sax/handler.py
Lib/xml/sax/handler.py
+1
-4
No files found.
Doc/lib/xmlsaxhandler.tex
View file @
e143bbb6
...
...
@@ -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
...
...
Lib/xml/sax/handler.py
View file @
e143bbb6
...
...
@@ -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.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment