Removes @key from the instance, returns its value

def pop(self, key):
        """ Removes @key from the instance, returns its value """
        r = self[key]
        self.remove(key)
        return r