#NEWLINE# def pprint( self , level = 0 ) : #NEWLINE# #INDENT# margin = ( '  ' * s ) #NEWLINE# s = ( ( margin + str ( self ) ) + ':\n' ) #NEWLINE# for e in self . elements : #NEWLINE# #INDENT# for ln in e . pprint ( ( level + 1 ) ) . splitlines ( ) : #NEWLINE# #INDENT# s += ( ln + '\n' ) #NEWLINE# #UNINDENT# #UNINDENT# return s