summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2002-12-03 22:57:37 (GMT)
committerFred Drake <fdrake@acm.org>2002-12-03 22:57:37 (GMT)
commita41b2bb981af277da5b4f42ecd48ff8f80c5a14f (patch)
tree4c0034b8485d240dbe78e16b126cd06bb87925ea /Doc
parent03cb7ee9c53215586ece957d254cfc2db45a44eb (diff)
downloadcpython-a41b2bb981af277da5b4f42ecd48ff8f80c5a14f.zip
cpython-a41b2bb981af277da5b4f42ecd48ff8f80c5a14f.tar.gz
cpython-a41b2bb981af277da5b4f42ecd48ff8f80c5a14f.tar.bz2
Fix problem in example code. It's minor in this particular example,
but can lead to mysterious problems in real applications.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/lib/libpyexpat.tex2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/lib/libpyexpat.tex b/Doc/lib/libpyexpat.tex
index abad8dd..442bed1 100644
--- a/Doc/lib/libpyexpat.tex
+++ b/Doc/lib/libpyexpat.tex
@@ -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: