mirror of
https://github.com/python/cpython.git
synced 2025-08-02 16:13:13 +00:00
Fix problem in example code. It's minor in this particular example,
but can lead to mysterious problems in real applications.
This commit is contained in:
parent
03cb7ee9c5
commit
a41b2bb981
1 changed files with 1 additions and 1 deletions
|
@ -480,7 +480,7 @@ p.CharacterDataHandler = char_data
|
|||
p.Parse("""<?xml version="1.0"?>
|
||||
<parent id="top"><child1 name="paul">Text goes here</child1>
|
||||
<child2 name="fred">More text</child2>
|
||||
</parent>""")
|
||||
</parent>""", 1)
|
||||
\end{verbatim}
|
||||
|
||||
The output from this program is:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue