def delitem(self, dic, name, raising=True):
if name not in dic:<EOL><INDENT>if raising:<EOL><INDENT>raise KeyError(name)<EOL><DEDENT><DEDENT>else:<EOL><INDENT>self._setitem.append((dic, name, dic.get(name, notset)))<EOL>del dic[name]<EOL><DEDENT>
Delete ``name`` from dict. Raise KeyError if it doesn't exist.

        If ``raising`` is set to False, no exception will be raised if the
        key is missing.