Reset element. This function removes all subelements, clears all attributes, and sets the text and tail attributes to None.
(self)
| 321 | return ElementPath.iterfind(self, path, namespaces) |
| 322 | |
| 323 | def clear(self): |
| 324 | """Reset element. |
| 325 | |
| 326 | This function removes all subelements, clears all attributes, and sets |
| 327 | the text and tail attributes to None. |
| 328 | |
| 329 | """ |
| 330 | self.attrib.clear() |
| 331 | self._children = [] |
| 332 | self.text = self.tail = None |
| 333 | |
| 334 | def get(self, key, default=None): |
| 335 | """Get element attribute. |
no outgoing calls