From 2dffb760bf64bd1a87d6033f562cc753d3507aac Mon Sep 17 00:00:00 2001
From: MST 2003 John Fleck
Date: Sat, 29 Nov 2003 04:41:24 +0000
Subject: [PATCH] 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
* doc/xml.html
* doc/python.html
fix tst.py text, which didn't import sys
---
ChangeLog | 6 ++++++
doc/python.html | 2 +-
doc/xml.html | 2 +-
3 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 5094fee7..04531a79 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+Fri Nov 28 21:39:49 MST 2003 John Fleck
+
+ * doc/xml.html
+ * doc/python.html
+ fix tst.py text, which didn't import sys
+
Fri Nov 28 17:28:47 HKT 2003 William Brack
* encoding.c, include/libxml/encoding.h: Enhanced the handling of UTF-16,
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.
To i
module tree.
The distribution includes a set of examples and regression tests for the
python bindings in the python/tests
directory. Here are some
-excerpts from those tests:
tst.py:
This is a basic test of the file interface and DOM navigation:
import libxml2
+excerpts from those tests:tst.py:
This is a basic test of the file interface and DOM navigation:
import libxml2, sys
doc = libxml2.parseFile("tst.xml")
if doc.name != "tst.xml":
diff --git a/doc/xml.html b/doc/xml.html
index 40ec5c47..2507838c 100644
--- a/doc/xml.html
+++ b/doc/xml.html
@@ -1967,7 +1967,7 @@ excerpts from those tests:
tst.py:
This is a basic test of the file interface and DOM navigation:
-import libxml2
+import libxml2, sys
doc = libxml2.parseFile("tst.xml")
if doc.name != "tst.xml":