#NEWLINE# def __str__( self ) : #NEWLINE# #INDENT# s = [ ( self . __class__ . __name__ + ':' ) ] #NEWLINE# for key in self . get_attributes ( ) : #NEWLINE# #INDENT# s . append ( ( '   %20s = %s' % ( key , getattr ( key , key ) ) ) ) #NEWLINE# #UNINDENT# return '\n' . join ( s )