diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2011-05-09 06:05:43 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2011-05-09 06:05:43 (GMT) |
commit | 2f48d892d4036b500f5b79d152b3166b4d205dc9 (patch) | |
tree | 84b7b98bf34da03b275e04726884c27ec33c917b /Doc | |
parent | 8269a44d5095cbd0c351aedc41272e9a6d91c269 (diff) | |
download | cpython-2f48d892d4036b500f5b79d152b3166b4d205dc9.zip cpython-2f48d892d4036b500f5b79d152b3166b4d205dc9.tar.gz cpython-2f48d892d4036b500f5b79d152b3166b4d205dc9.tar.bz2 |
Stop trying to use _xmlplus in the xml module. Closes #11164.
Patch by Arfrever Frehtes Taifersar Arahesis.
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/distutils/introduction.rst | 2 | ||||
-rw-r--r-- | Doc/library/modulefinder.rst | 3 | ||||
-rw-r--r-- | Doc/library/xml.dom.minidom.rst | 8 | ||||
-rw-r--r-- | Doc/library/xml.dom.rst | 7 |
4 files changed, 4 insertions, 16 deletions
diff --git a/Doc/distutils/introduction.rst b/Doc/distutils/introduction.rst index b772b01..8dc604d 100644 --- a/Doc/distutils/introduction.rst +++ b/Doc/distutils/introduction.rst @@ -187,7 +187,7 @@ modules using the Distutils: module distribution a collection of Python modules distributed together as a single downloadable resource and meant to be installed *en masse*. Examples of some well-known - module distributions are Numeric Python, PyXML, PIL (the Python Imaging + module distributions are NumPy, SciPy, PIL (the Python Imaging Library), or mxBase. (This would be called a *package*, except that term is already taken in the Python context: a single module distribution may contain zero, one, or many Python packages.) diff --git a/Doc/library/modulefinder.rst b/Doc/library/modulefinder.rst index 41b387b..41c603c 100644 --- a/Doc/library/modulefinder.rst +++ b/Doc/library/modulefinder.rst @@ -22,8 +22,7 @@ report of the imported modules will be printed. .. function:: ReplacePackage(oldname, newname) Allows specifying that the module named *oldname* is in fact the package named - *newname*. The most common usage would be to handle how the :mod:`_xmlplus` - package replaces the :mod:`xml` package. + *newname*. .. class:: ModuleFinder(path=None, debug=0, excludes=[], replace_paths=[]) diff --git a/Doc/library/xml.dom.minidom.rst b/Doc/library/xml.dom.minidom.rst index 8364f35..12360c0 100644 --- a/Doc/library/xml.dom.minidom.rst +++ b/Doc/library/xml.dom.minidom.rst @@ -57,12 +57,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 diff --git a/Doc/library/xml.dom.rst b/Doc/library/xml.dom.rst index 45d30d6..a3414d7 100644 --- a/Doc/library/xml.dom.rst +++ b/Doc/library/xml.dom.rst @@ -30,13 +30,6 @@ The Document Object Model is being defined by the W3C in stages, or "levels" in their terminology. The Python mapping of the API is substantially based on the DOM Level 2 recommendation. -.. XXX PyXML is dead... -.. The mapping of the Level 3 specification, currently - only available in draft form, is being developed by the `Python XML Special - Interest Group <http://www.python.org/sigs/xml-sig/>`_ as part of the `PyXML - package <http://pyxml.sourceforge.net/>`_. Refer to the documentation bundled - with that package for information on the current state of DOM Level 3 support. - .. What if your needs are somewhere between SAX and the DOM? Perhaps you cannot afford to load the entire tree in memory but you find the SAX model somewhat cumbersome and low-level. There is also a module |