#NEWLINE# def _setattr( self , attr , values ) : #NEWLINE# #INDENT# if ( len ( values ) != len ( self ) ) : #NEWLINE# #INDENT# raise ValueError ( 'value must be of same length as list' ) #NEWLINE# #UNINDENT# for ( idx , pool ) in enumerate ( self ) : #NEWLINE# #INDENT# setattr ( pool , attr , values [ idx ] )