def get(self, key, default=None):
        try:
            return self[key]
        except __HOLE__:
            return default
dataset/ETHPy150Open fluentpython/example-code/attic/dicts/strkeydict_dictsub.py/StrKeyDict.get