Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ade1917

Browse files
committed
Merged revisions 81108 via svnmerge from
svn+ssh://[email protected]/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 ........
1 parent 1587e3d commit ade1917

1 file changed

Lines changed: 12 additions & 3 deletions

File tree

Doc/library/xml.dom.rst

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -693,18 +693,27 @@ Attr Objects
693693

694694
.. attribute:: Attr.name
695695

696-
The attribute name. In a namespace-using document it may have colons in it.
696+
The attribute name.
697+
In a namespace-using document it may include a colon.
697698

698699

699700
.. attribute:: Attr.localName
700701

701-
The part of the name following the colon if there is one, else the entire name.
702+
The part of the name following the colon if there is one, else the
703+
entire name.
702704
This is a read-only attribute.
703705

704706

705707
.. attribute:: Attr.prefix
706708

707-
The part of the name preceding the colon if there is one, else the empty string.
709+
The part of the name preceding the colon if there is one, else the
710+
empty string.
711+
712+
713+
.. attribute:: Attr.value
714+
715+
The text value of the attribute. This is a synonym for the
716+
:attr:`nodeValue` attribute.
708717

709718

710719
.. _dom-attributelist-objects:

0 commit comments

Comments
 (0)