#NEWLINE# def to_text( self ) : #NEWLINE# #INDENT# blocks = [ ] #NEWLINE# for report in blocks . report : #NEWLINE# #INDENT# blocks . append ( report . to_text ( ) ) #NEWLINE# #UNINDENT# return '\n' . join ( blocks )