644 contents = m.group("DocstringContents3") |
644 contents = m.group("DocstringContents3") |
645 if contents is not None: |
645 if contents is not None: |
646 contents = _hashsub(r"\1", contents) |
646 contents = _hashsub(r"\1", contents) |
647 else: |
647 else: |
648 if self.file.lower().endswith('.ptl'): |
648 if self.file.lower().endswith('.ptl'): |
649 contents = "" |
649 contents = "" |
650 else: |
650 else: |
651 contents = 1 and m.group("DocstringContents1") \ |
651 contents = 1 and m.group("DocstringContents1") \ |
652 or m.group("DocstringContents2") |
652 or m.group("DocstringContents2") |
653 if cur_obj: |
653 if cur_obj: |
654 cur_obj.addDescription(contents) |
654 cur_obj.addDescription(contents) |