mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-07-29 11:41:22 +03:00
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
This commit is contained in:
committed by
John Fleck
parent
f9415e4989
commit
2dffb760bf
@ -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("tst.xml")
|
||||
if doc.name != "tst.xml":
|
||||
|
Reference in New Issue
Block a user