code: def add(self,attrlist,attrvalues):
          '''
          add an attribute
          
          :parameter dimlist: list of dimensions
          :parameter dimvalues: list of values for dimlist
          '''
          for i,d in enumerate(attrlist):
              self[d] = attrvalues[if add(self,attrlist,attrvalues):
          '''
          add an attribute
          
          :parameter dimlist: list of dimensions
          :parameter dimvalues: list of values for dimlist
          '''
          for i,d in enumerate(attrlist):
              self[d] = attrvalues[i]
docs: add an attribute
          
          :parameter dimlist: list of dimensions
          :parameter dimvalues: list of values for dimlist