def append(self, key, value):
        """Adds a (name, value) pair, doesn't overwrite the value if it already
        exists."""
        self.__items.append((key, value))

        try:
            dict_getitem(self, key).append(value)
        except KeyError:
            dict_setitem(self, key, [value])
def append ( self , key , value ) : self . __items . append ( ( key , value ) ) try : dict_getitem ( self , key ) . append ( value ) except KeyError : dict_setitem ( self , key , [ value ] )
Adds a (name, value) pair, doesn't overwrite the value if it already
        exists.