def __setitem__(self, key, value):
        """Adds value to the list of values for the specified key.

        Arguments:
          key (object): Key
          value (object): Value
        """
        if key not in self.data:
            self.data[key] = [value]
        else:
            self.data[key].append(value)
def __setitem__ ( self , key , value ) : if key not in self . data : self . data [ key ] = [ value ] else : self . data [ key ] . append ( value )
Adds value to the list of values for the specified key.

        Arguments:
          key (object): Key
          value (object): Value