mirror of https://github.com/python/cpython
#2101: fix removeAttribute docs.
This commit is contained in:
parent
a885c1521a
commit
7d009926ad
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue