(self, e)
| 246 | self._children.insert(index, subelement) |
| 247 | |
| 248 | def _assert_is_element(self, e): |
| 249 | # Need to refer to the actual Python implementation, not the |
| 250 | # shadowing C implementation. |
| 251 | if not isinstance(e, _Element_Py): |
| 252 | raise TypeError('expected an Element, not %s' % type(e).__name__) |
| 253 | |
| 254 | def remove(self, subelement): |
| 255 | """Remove matching subelement. |
no outgoing calls
no test coverage detected