You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Resets an element. This function removes all subelements, clears
all attributes and sets the text and tail properties to None.
Pass ``keep_tail=True`` to leave the tail text untouched.
The text was updated successfully, but these errors were encountered:
_Element.clear()
takes a boolean parameter namedkeep_tail
.This parameter does not exist in the stdlib ElementTree, but does exist in lxml.etree.
See https://lxml.de/api/lxml.etree._Element-class.html#clear
The docstring for
clear
in lxml.etree readsThe text was updated successfully, but these errors were encountered: