[Python-checkins] r61017 - python/trunk/Doc/library/xml.dom.rst

georg.brandl python-checkins at python.org
Sat Feb 23 22:59:12 CET 2008


Author: georg.brandl
Date: Sat Feb 23 22:59:11 2008
New Revision: 61017

Modified:
   python/trunk/Doc/library/xml.dom.rst
Log:
#2101: fix removeAttribute docs.


Modified: python/trunk/Doc/library/xml.dom.rst
==============================================================================
--- python/trunk/Doc/library/xml.dom.rst	(original)
+++ python/trunk/Doc/library/xml.dom.rst	Sat Feb 23 22:59:11 2008
@@ -652,8 +652,8 @@
 
 .. method:: Element.removeAttribute(name)
 
-   Remove an attribute by name.  No exception is raised if there is no matching
-   attribute.
+   Remove an attribute by name.  If there is no matching attribute, a
+   :exc:`NotFoundErr` is raised.
 
 
 .. method:: Element.removeAttributeNode(oldAttr)


More information about the Python-checkins mailing list