summaryrefslogtreecommitdiff
path: root/doc/python.html
diff options
context:
space:
mode:
authorMST 2003 John Fleck <jfleck@inkstain.net>2003-11-29 04:41:24 +0000
committerJohn Fleck <jfleck@src.gnome.org>2003-11-29 04:41:24 +0000
commit2dffb760bf64bd1a87d6033f562cc753d3507aac (patch)
tree5eacecedc981bac3599dde302588ddd70ed9595f /doc/python.html
parentf9415e4989914e24188e4644f39bdc41bf25f7f3 (diff)
downloadlibxml2-2dffb760bf64bd1a87d6033f562cc753d3507aac.tar.gz
doc/xml.html doc/python.html fix tst.py text, which didn't import sys
Fri Nov 28 21:39:49 MST 2003 John Fleck <jfleck@inkstain.net> * doc/xml.html * doc/python.html fix tst.py text, which didn't import sys
Diffstat (limited to 'doc/python.html')
-rw-r--r--doc/python.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/python.html b/doc/python.html
index 06eb5e10..99477340 100644
--- a/doc/python.html
+++ b/doc/python.html
@@ -62,7 +62,7 @@ build the bindings is python/generator.py in the source distribution.</p><p>To i
module tree.</li>
</ul><p>The distribution includes a set of examples and regression tests for the
python bindings in the <code>python/tests</code> directory. Here are some
-excerpts from those tests:</p><h3>tst.py:</h3><p>This is a basic test of the file interface and DOM navigation:</p><pre>import libxml2
+excerpts from those tests:</p><h3>tst.py:</h3><p>This is a basic test of the file interface and DOM navigation:</p><pre>import libxml2, sys
doc = libxml2.parseFile(&quot;tst.xml&quot;)
if doc.name != &quot;tst.xml&quot;: