]> granicus.if.org Git - python/commitdiff
- clarify Attr.name comment on the presence of colons in namespace mode
authorFred Drake <fdrake@acm.org>
Wed, 12 May 2010 02:24:50 +0000 (02:24 +0000)
committerFred Drake <fdrake@acm.org>
Wed, 12 May 2010 02:24:50 +0000 (02:24 +0000)
- document Attr.value
- wrap some long lines

Doc/library/xml.dom.rst

index 0f9172386de20543d37006760121c5b6e303912c..10696156f5a0b93b7d25334b344a25d19010fa6c 100644 (file)
@@ -705,18 +705,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: