Remove all `a:p` children, but leave any others. cf. lxml `_Element.clear()` method which removes all children.
(self)
| 91 | p: CT_TextParagraph = OneOrMore("a:p") # pyright: ignore[reportAssignmentType] |
| 92 | |
| 93 | def clear_content(self): |
| 94 | """Remove all `a:p` children, but leave any others. |
| 95 | |
| 96 | cf. lxml `_Element.clear()` method which removes all children. |
| 97 | """ |
| 98 | for p in self.p_lst: |
| 99 | self.remove(p) |
| 100 | |
| 101 | @property |
| 102 | def defRPr(self) -> CT_TextCharacterProperties: |
no test coverage detected