(obj: BaseOxmlElement, child: BaseOxmlElement)
| 333 | """Add an ``_insert_x()`` method to the element class for this child element.""" |
| 334 | |
| 335 | def _insert_child(obj: BaseOxmlElement, child: BaseOxmlElement): |
| 336 | obj.insert_element_before(child, *self._successors) |
| 337 | return child |
| 338 | |
| 339 | _insert_child.__doc__ = ( |
| 340 | "Return the passed ``<%s>`` element after inserting it as a chil" |
nothing calls this directly
no test coverage detected