Plugins/CheckerPlugins/CodeStyleChecker/DocStyleChecker.py

branch
Py2 comp.
changeset 3058
0a02c433f52d
parent 3057
10516539f238
parent 3022
57179e4cdadd
child 3060
5883ce99ee12
equal deleted inserted replaced
3057:10516539f238 3058:0a02c433f52d
705 kind, value, (line, char), _, _ = \ 705 kind, value, (line, char), _, _ = \
706 self.__skipIndentedBlock(tokenGenerator) 706 self.__skipIndentedBlock(tokenGenerator)
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( 710 contexts.append(DocStyleContext(
711 DocStyleContext(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

eric ide

mercurial