diff options
| author | Martin v. Löwis <martin@v.loewis.de> | 2011-05-09 08:10:38 +0200 |
|---|---|---|
| committer | Martin v. Löwis <martin@v.loewis.de> | 2011-05-09 08:10:38 +0200 |
| commit | 867754e3e3c907f87d1bb0282df628deb392cd62 (patch) | |
| tree | 3a5acb5ba081b355ea94fa237ec940c47c0d4418 /Doc/library/xml.dom.minidom.rst | |
| parent | 8ffaa1049c8e3e18b7615f4eecc9dfd71495f3ba (diff) | |
| parent | 2f48d892d4036b500f5b79d152b3166b4d205dc9 (diff) | |
| download | cpython-git-867754e3e3c907f87d1bb0282df628deb392cd62.tar.gz | |
merge 11164
Diffstat (limited to 'Doc/library/xml.dom.minidom.rst')
| -rw-r--r-- | Doc/library/xml.dom.minidom.rst | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/Doc/library/xml.dom.minidom.rst b/Doc/library/xml.dom.minidom.rst index 070967bb96..ab5476d91f 100644 --- a/Doc/library/xml.dom.minidom.rst +++ b/Doc/library/xml.dom.minidom.rst @@ -60,12 +60,8 @@ functions do not provide a parser implementation themselves. You can also create a :class:`Document` by calling a method on a "DOM Implementation" object. You can get this object either by calling the :func:`getDOMImplementation` function in the :mod:`xml.dom` package or the -:mod:`xml.dom.minidom` module. Using the implementation from the -:mod:`xml.dom.minidom` module will always return a :class:`Document` instance -from the minidom implementation, while the version from :mod:`xml.dom` may -provide an alternate implementation (this is likely if you have the `PyXML -package <http://pyxml.sourceforge.net/>`_ installed). Once you have a -:class:`Document`, you can add child nodes to it to populate the DOM:: +:mod:`xml.dom.minidom` module. Once you have a :class:`Document`, you +can add child nodes to it to populate the DOM:: from xml.dom.minidom import getDOMImplementation |
