#NEWLINE# def __repr__( self ) : #NEWLINE# #INDENT# out = [ ] #NEWLINE# for x in dir ( self ) : #NEWLINE# #INDENT# v = getattr ( self , x ) #NEWLINE# if ( x [ 0 ] == '_' ) : #NEWLINE# #INDENT# continue #NEWLINE# #UNINDENT# if isroutine ( v ) : #NEWLINE# #INDENT# continue #NEWLINE# #UNINDENT# out . append ( ( '%s="%s"' % ( x , v ) ) ) #NEWLINE# #UNINDENT# return ( '<%s %s>' % ( self . __class__ . __name__ , ' ' . join ( out ) ) )