def get(self, key, default=None):
        """Retrieve value associated with 'key' or return default value
        if 'key' doesn't exist."""
        try:
            return self[key]
        except KeyError:
            return default
Retrieve value associated with 'key' or return default value
        if 'key' doesn't exist.
recipes/Python/66315_Caseinsensitive_Dictionary/recipe-66315.py