'Remove all content child elements from this <w:body> element. Leave
the <w:sectPr> element if it is present.'

def clear_content(self):

    if (self.sectPr is not None):
        content_elms = self[:(-1)]
    else:
        content_elms = self[:]
    for content_elm in content_elms:
        self.remove(content_elm)
