UtilitiesPython2/DocStyleCheckerPy2.py

changeset 3031
ed2eaa573ca5
parent 2984
031cceaa8b01
child 3160
209a07d7e401
equal deleted inserted replaced
3030:4a0a82ddd9d2 3031:ed2eaa573ca5
569 end = line - 1, char 569 end = line - 1, char
570 startLine = classContext.start() + start[0] 570 startLine = classContext.start() + start[0]
571 endLine = classContext.start() + end[0] 571 endLine = classContext.start() + end[0]
572 contexts.append( 572 contexts.append(
573 DocStyleContext(self.__source[startLine:endLine], 573 DocStyleContext(self.__source[startLine:endLine],
574 startLine, "def")) 574 startLine, "def"))
575 except StopIteration: 575 except StopIteration:
576 pass 576 pass
577 self.__methodsCache = contexts 577 self.__methodsCache = contexts
578 578
579 return self.__methodsCache 579 return self.__methodsCache

eric ide

mercurial