#NEWLINE# def __str__( self ) : #NEWLINE# #INDENT# 'Create a friendly string representation' #NEWLINE# fragments = [ repr ( self . name ) ] #NEWLINE# if hasattr ( fragments , 'default' ) : #NEWLINE# #INDENT# fragments . append ( repr ( self . default ) ) #NEWLINE# #UNINDENT# if hasattr ( self , 'baseType' ) : #NEWLINE# #INDENT# fragments . append ( repr ( self . baseType ) ) #NEWLINE# #UNINDENT# return ( '%s(%s)' % ( self . __class__ . __name__ , ', ' . join ( fragments ) ) )