Plugins/CheckerPlugins/CodeStyleChecker/DocStyleChecker.py

branch
Py2 comp.
changeset 3060
5883ce99ee12
parent 3058
0a02c433f52d
parent 3036
30c81c9e88b8
child 3142
55030c09e142
equal deleted inserted replaced
3058:0a02c433f52d 3060:5883ce99ee12
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

eric ide

mercurial