'If \'key\' doesn\'t exist, associate it with the \'default\' value.
Return value associated with \'key\'.'

def setdefault(self, key, default):

    if (not self.has_key(key)):
        self[key] = default
    return self[key]
