mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
Get rid of the remaining versionadded/versionchanged directives.
This commit is contained in:
parent
1617457cff
commit
55ac8f0f26
161 changed files with 335 additions and 2197 deletions
|
@ -8,8 +8,6 @@
|
|||
.. sectionauthor:: Martin v. Löwis <martin@v.loewis.de>
|
||||
|
||||
|
||||
.. versionadded:: 2.0
|
||||
|
||||
The Document Object Model, or "DOM," is a cross-language API from the World Wide
|
||||
Web Consortium (W3C) for accessing and modifying XML documents. A DOM
|
||||
implementation presents an XML document as a tree structure, or allows client
|
||||
|
@ -122,16 +120,12 @@ Some convenience constants are also provided:
|
|||
DOM. This is typically found as the :attr:`namespaceURI` of a node, or used as
|
||||
the *namespaceURI* parameter to a namespaces-specific method.
|
||||
|
||||
.. versionadded:: 2.2
|
||||
|
||||
|
||||
.. data:: XML_NAMESPACE
|
||||
|
||||
The namespace URI associated with the reserved prefix ``xml``, as defined by
|
||||
`Namespaces in XML <http://www.w3.org/TR/REC-xml-names/>`_ (section 4).
|
||||
|
||||
.. versionadded:: 2.2
|
||||
|
||||
|
||||
.. data:: XMLNS_NAMESPACE
|
||||
|
||||
|
@ -139,15 +133,12 @@ Some convenience constants are also provided:
|
|||
Model (DOM) Level 2 Core Specification
|
||||
<http://www.w3.org/TR/DOM-Level-2-Core/core.html>`_ (section 1.1.8).
|
||||
|
||||
.. versionadded:: 2.2
|
||||
|
||||
|
||||
.. data:: XHTML_NAMESPACE
|
||||
|
||||
The URI of the XHTML namespace as defined by `XHTML 1.0: The Extensible
|
||||
HyperText Markup Language <http://www.w3.org/TR/xhtml1/>`_ (section 3.1.1).
|
||||
|
||||
.. versionadded:: 2.2
|
||||
|
||||
In addition, :mod:`xml.dom` contains a base :class:`Node` class and the DOM
|
||||
exception classes. The :class:`Node` class provided by this module does not
|
||||
|
@ -404,8 +395,6 @@ All of the components of an XML document are subclasses of :class:`Node`.
|
|||
:class:`Text` instances. This simplifies processing text from a DOM tree for
|
||||
many applications.
|
||||
|
||||
.. versionadded:: 2.1
|
||||
|
||||
|
||||
.. method:: Node.cloneNode(deep)
|
||||
|
||||
|
@ -813,8 +802,6 @@ Represents a processing instruction in the XML document; this inherits from the
|
|||
Exceptions
|
||||
^^^^^^^^^^
|
||||
|
||||
.. versionadded:: 2.1
|
||||
|
||||
The DOM Level 2 recommendation defines a single exception, :exc:`DOMException`,
|
||||
and a number of constants that allow applications to determine what sort of
|
||||
error occurred. :exc:`DOMException` instances carry a :attr:`code` attribute
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue