]> granicus.if.org Git - python/commitdiff
Merged revisions 81108 via svnmerge from
authorFred Drake <fdrake@acm.org>
Wed, 12 May 2010 02:34:50 +0000 (02:34 +0000)
committerFred Drake <fdrake@acm.org>
Wed, 12 May 2010 02:34:50 +0000 (02:34 +0000)
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
........

Doc/library/xml.dom.rst

index 45d30d67299f4b732b99072645ed1000074b9457..ebe1092e4cf38290a34b393bc0ab3db0a4554e2b 100644 (file)
@@ -693,18 +693,27 @@ Attr Objects
 
 .. 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: