This looks good. You might be interested to know that there's a one-liner for "if key in self.dict: del self.dict[key]". It is "self.dict.pop(key, None)".
« Back to merge proposal
This looks good. You might be interested to know that there's a one-liner for "if key in self.dict: del self.dict[key]". It is "self.dict.pop(key, None)".