707 end = line - 1, char |
707 end = line - 1, char |
708 startLine = classContext.start() + start[0] |
708 startLine = classContext.start() + start[0] |
709 endLine = classContext.start() + end[0] |
709 endLine = classContext.start() + end[0] |
710 contexts.append(DocStyleContext( |
710 contexts.append(DocStyleContext( |
711 self.__source[startLine:endLine], |
711 self.__source[startLine:endLine], |
712 startLine, "def")) |
712 startLine, "def")) |
713 except StopIteration: |
713 except StopIteration: |
714 pass |
714 pass |
715 self.__methodsCache = contexts |
715 self.__methodsCache = contexts |
716 |
716 |
717 return self.__methodsCache |
717 return self.__methodsCache |