]> granicus.if.org Git - python/commitdiff
Fix problem in example code. It's minor in this particular example,
authorFred Drake <fdrake@acm.org>
Tue, 3 Dec 2002 22:57:37 +0000 (22:57 +0000)
committerFred Drake <fdrake@acm.org>
Tue, 3 Dec 2002 22:57:37 +0000 (22:57 +0000)
but can lead to mysterious problems in real applications.

Doc/lib/libpyexpat.tex

index abad8dd321655283a875d88910c54f9dbf744dcc..442bed1b48fcdf0aa4c49cc7e8f2049972ed3c76 100644 (file)
@@ -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: