eric6/QScintilla/DocstringGenerator/PyDocstringGenerator.py

changeset 8222
5994b80b8760
parent 8221
0572a215bd2f
child 8228
772103b14c18
equal deleted inserted replaced
8221:0572a215bd2f 8222:5994b80b8760
755 returnTmpLine = "" 755 returnTmpLine = ""
756 756
757 for line in lineList: 757 for line in lineList:
758 line = line.strip() 758 line = line.strip()
759 759
760 if returnFound is False: 760 if (
761 if re.match(returnPattern, line): 761 returnFound is False and
762 returnFound = True 762 re.match(returnPattern, line)
763 ):
764 returnFound = True
763 765
764 if returnFound: 766 if returnFound:
765 returnTmpLine += line 767 returnTmpLine += line
766 # check the integrity of line 768 # check the integrity of line
767 try: 769 try:

eric ide

mercurial