commit | 7edbd4ffb4928d447c7d2a73e7cb7deddb30f0ac | [log] [tgz] |
---|---|---|
author | Martin v. Löwis <martin@v.loewis.de> | Thu Feb 22 14:05:50 2001 +0000 |
committer | Martin v. Löwis <martin@v.loewis.de> | Thu Feb 22 14:05:50 2001 +0000 |
tree | c9c08c012a49d432d97a5ac10753420a376e47a0 | |
parent | f5d3ea00b97910bd14fa32fea46c29fae5775edd [diff] [blame] |
Patch #103885: Add dynamic registration and lookup of DOM implementations.
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 @@ """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