#NEWLINE# def add_tags( self , name , * tags ) : #NEWLINE# #INDENT# obj = self . __db__ [ name ] #NEWLINE# assert ( len ( obj ) == 1 ) #NEWLINE# obj = obj . copy ( ) . pop ( ) #NEWLINE# for tag in tags : #NEWLINE# #INDENT# if ( tag in self . _names ) : #NEWLINE# #INDENT# raise ValueError ( 'The tag of the object collides with a name.' , obj , tag ) #NEWLINE# #UNINDENT# self . __db__ [ tag ] . add ( obj )