mirror of
https://github.com/python/cpython.git
synced 2025-08-02 16:13:13 +00:00
#2101: fix removeAttribute docs.
This commit is contained in:
parent
a885c1521a
commit
7d009926ad
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue