Plugins/CheckerPlugins/CodeStyleChecker/DocStyleChecker.py

changeset 3036
30c81c9e88b8
parent 3022
57179e4cdadd
child 3060
5883ce99ee12
child 3083
6382a74d9599
equal deleted inserted replaced
3035:36e9f388958b 3036:30c81c9e88b8
705 end = line - 1, char 705 end = line - 1, char
706 startLine = classContext.start() + start[0] 706 startLine = classContext.start() + start[0]
707 endLine = classContext.start() + end[0] 707 endLine = classContext.start() + end[0]
708 contexts.append(DocStyleContext( 708 contexts.append(DocStyleContext(
709 self.__source[startLine:endLine], 709 self.__source[startLine:endLine],
710 startLine, "def")) 710 startLine, "def"))
711 except StopIteration: 711 except StopIteration:
712 pass 712 pass
713 self.__methodsCache = contexts 713 self.__methodsCache = contexts
714 714
715 return self.__methodsCache 715 return self.__methodsCache

eric ide

mercurial