#NEWLINE# def __setitem__( self , key , value ) : #NEWLINE# #INDENT# if isinstance ( value , basestring ) : #NEWLINE# #INDENT# value = [ value ] #NEWLINE# #UNINDENT# for i in range ( 1 , ( len ( key ) + 1 ) ) : #NEWLINE# #INDENT# dict . __setitem__ ( self , ( '%s.%d' % ( key , i ) ) , value [ ( i - 1 ) ] )