#NEWLINE# def __repr__( self ) : #NEWLINE# #INDENT# ' Returns a "pretty print" version of the Group.\n        ' #NEWLINE# result = [ ] #NEWLINE# items = ',\n' . join ( [ item . __repr__ ( ) for item in self . content ] ) #NEWLINE# if ( len ( items ) > 0 ) : #NEWLINE# #INDENT# result . append ( items ) #NEWLINE# #UNINDENT# options = self . _repr_options ( 'orientation' , 'show_border' , 'show_labels' , 'show_left' , 'selected' , 'id' , 'object' , 'label' , 'style' , 'layout' , 'style_sheet' ) #NEWLINE# if ( options is not None ) : #NEWLINE# #INDENT# result . append ( options ) #NEWLINE# #UNINDENT# content = ',\n' . join ( result ) #NEWLINE# if ( len ( content ) == 0 ) : #NEWLINE# #INDENT# return ( self . __class__ . __name__ + '()' ) #NEWLINE# #UNINDENT# return ( '%s(\n%s\n)' % ( self . __class__ . __name__ , self . _indent ( content ) ) )