summaryrefslogtreecommitdiffstats
path: root/Lib/xml/dom/minidom.py
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2001-02-22 14:05:50 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2001-02-22 14:05:50 (GMT)
commit7edbd4ffb4928d447c7d2a73e7cb7deddb30f0ac (patch)
treec9c08c012a49d432d97a5ac10753420a376e47a0 /Lib/xml/dom/minidom.py
parentf5d3ea00b97910bd14fa32fea46c29fae5775edd (diff)
downloadcpython-7edbd4ffb4928d447c7d2a73e7cb7deddb30f0ac.zip
cpython-7edbd4ffb4928d447c7d2a73e7cb7deddb30f0ac.tar.gz
cpython-7edbd4ffb4928d447c7d2a73e7cb7deddb30f0ac.tar.bz2
Patch #103885: Add dynamic registration and lookup of DOM implementations.
Diffstat (limited to 'Lib/xml/dom/minidom.py')
-rw-r--r--Lib/xml/dom/minidom.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/xml/dom/minidom.py b/Lib/xml/dom/minidom.py
index b4ae267..35adfd5 100644
--- a/Lib/xml/dom/minidom.py
+++ b/Lib/xml/dom/minidom.py
@@ -782,3 +782,6 @@ def parseString(*args, **kwargs):
"""Parse a file into a DOM from a string."""
from xml.dom import pulldom
return _doparse(pulldom.parseString, args, kwargs)
+
+def getDOMImplementation():
+ return Document.implementation