Utilities/ModuleParser.py

changeset 6735
31e263d49c04
parent 6645
ad476851d7e0
child 6813
7f4cfe76b90c
equal deleted inserted replaced
6734:1eaf6955acf5 6735:31e263d49c04
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)

eric ide

mercurial