[Python-checkins] r81109 - in python/branches/py3k: Doc/library/xml.dom.rst

fred.drake python-checkins at python.org
Wed May 12 04:34:50 CEST 2010


Author: fred.drake
Date: Wed May 12 04:34:50 2010
New Revision: 81109

Log:
Merged revisions 81108 via svnmerge from 
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r81108 | fred.drake | 2010-05-11 22:24:50 -0400 (Tue, 11 May 2010) | 4 lines
  
  - clarify Attr.name comment on the presence of colons in namespace mode
  - document Attr.value
  - wrap some long lines
........


Modified:
   python/branches/py3k/   (props changed)
   python/branches/py3k/Doc/library/xml.dom.rst

Modified: python/branches/py3k/Doc/library/xml.dom.rst
==============================================================================
--- python/branches/py3k/Doc/library/xml.dom.rst	(original)
+++ python/branches/py3k/Doc/library/xml.dom.rst	Wed May 12 04:34:50 2010
@@ -693,18 +693,27 @@
 
 .. attribute:: Attr.name
 
-   The attribute name.  In a namespace-using document it may have colons in it.
+   The attribute name.
+   In a namespace-using document it may include a colon.
 
 
 .. attribute:: Attr.localName
 
-   The part of the name following the colon if there is one, else the entire name.
+   The part of the name following the colon if there is one, else the
+   entire name.
    This is a read-only attribute.
 
 
 .. attribute:: Attr.prefix
 
-   The part of the name preceding the colon if there is one, else the empty string.
+   The part of the name preceding the colon if there is one, else the
+   empty string.
+
+
+.. attribute:: Attr.value
+
+   The text value of the attribute.  This is a synonym for the
+   :attr:`nodeValue` attribute.
 
 
 .. _dom-attributelist-objects:


More information about the Python-checkins mailing list