summaryrefslogtreecommitdiffstats
path: root/Doc/library/xml.dom.rst
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/library/xml.dom.rst')
-rw-r--r--Doc/library/xml.dom.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/xml.dom.rst b/Doc/library/xml.dom.rst
index 5ddd6a8..768c9c8 100644
--- a/Doc/library/xml.dom.rst
+++ b/Doc/library/xml.dom.rst
@@ -641,8 +641,8 @@ of that class.
.. 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)