diff options
author | Georg Brandl <georg@python.org> | 2008-02-23 21:59:11 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2008-02-23 21:59:11 (GMT) |
commit | 7d009926adb7d9079fff2263d37bf3943c373c7b (patch) | |
tree | 8e7666efbe24d5b95e9335c2cd3aee85c4b315d9 /Doc | |
parent | a885c1521a547d728e04bbede8c669417d41b9bb (diff) | |
download | cpython-7d009926adb7d9079fff2263d37bf3943c373c7b.zip cpython-7d009926adb7d9079fff2263d37bf3943c373c7b.tar.gz cpython-7d009926adb7d9079fff2263d37bf3943c373c7b.tar.bz2 |
#2101: fix removeAttribute docs.
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/library/xml.dom.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/xml.dom.rst b/Doc/library/xml.dom.rst index 1fbca03..4bdb41e 100644 --- a/Doc/library/xml.dom.rst +++ b/Doc/library/xml.dom.rst @@ -652,8 +652,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) |