code: def clear_content(self):
          
          for child in self[:]:
              if child.tag == qn('w:pPr'):
                  continue
              self.remove(child)
docs: Remove all child elements, except the ``<w:pPr>`` element if present.