#NEWLINE# def __str__( self ) : #NEWLINE# #INDENT# if ( self . _restrs == [ ] ) : #NEWLINE# #INDENT# return ( '%s' % self . _categ ) #NEWLINE# #UNINDENT# restrictions = ( '[%s]' % ',' . join ( ( unicode_repr ( r ) for r in self . _restrs ) ) ) #NEWLINE# return ( '%s%s' % ( self . _categ , restrictions ) )