#NEWLINE# def divideIntoBlocks( self , lines ) : #NEWLINE# #INDENT# "Divide 'lines' into blocks that the interpreter would execute as a single statement." #NEWLINE# blocks = [ ] #NEWLINE# while lines : #NEWLINE# #INDENT# ix = self . indexOfFirstBreak ( lines ) #NEWLINE# blocks . append ( lines [ 0 : ix ] ) #NEWLINE# lines = lines [ ix : ] #NEWLINE# #UNINDENT# return blocks