summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorFredrik Lundh <fredrik@pythonware.com>2005-12-12 18:54:55 (GMT)
committerFredrik Lundh <fredrik@pythonware.com>2005-12-12 18:54:55 (GMT)
commit7e0aef0e759cf79a901522cbebaeba05ce2b61e6 (patch)
tree45992946aba551d7211510a332389026f802013f /Lib
parent075854fcc57c718c587e3c1885333f5413051b52 (diff)
downloadcpython-7e0aef0e759cf79a901522cbebaeba05ce2b61e6.zip
cpython-7e0aef0e759cf79a901522cbebaeba05ce2b61e6.tar.gz
cpython-7e0aef0e759cf79a901522cbebaeba05ce2b61e6.tar.bz2
r1068@spiff: Fredrik | 2005-12-12 19:50:30 +0100
assorted xml.etree tweaks
Diffstat (limited to 'Lib')
-rw-r--r--Lib/test/xmltests.py1
-rw-r--r--Lib/xml/__init__.py8
2 files changed, 7 insertions, 2 deletions
diff --git a/Lib/test/xmltests.py b/Lib/test/xmltests.py
index 7963035..ced670b 100644
--- a/Lib/test/xmltests.py
+++ b/Lib/test/xmltests.py
@@ -15,5 +15,6 @@ def runtest(name):
runtest("test.test_minidom")
runtest("test.test_pyexpat")
runtest("test.test_sax")
+runtest("test.test_xml_etree")
runtest("test.test_xmllib")
runtest("test.test_xmlrpc")
diff --git a/Lib/xml/__init__.py b/Lib/xml/__init__.py
index 827439f..dc82f74 100644
--- a/Lib/xml/__init__.py
+++ b/Lib/xml/__init__.py
@@ -1,6 +1,6 @@
"""Core XML support for Python.
-This package contains three sub-packages:
+This package contains four sub-packages:
dom -- The W3C Document Object Model. This supports DOM Level 1 +
Namespaces.
@@ -10,10 +10,14 @@ parsers -- Python wrappers for XML parsers (currently only supports Expat).
sax -- The Simple API for XML, developed by XML-Dev, led by David
Megginson and ported to Python by Lars Marius Garshol. This
supports the SAX 2 API.
+
+etree -- The ElementTree XML library. This is a subset of the full
+ ElementTree XML release.
+
"""
-__all__ = ["dom", "parsers", "sax"]
+__all__ = ["dom", "parsers", "sax", "etree"]
# When being checked-out without options, this has the form
# "<dollar>Revision: x.y </dollar>"