

def __getitem__(self, name):
    try:
        return dict.__getitem__(self, name)
    except KeyError:
        item = self.default()
        self[name] = item
        return item

dataset/ETHPy150Open skyostil/tracy/src/common/Collections.py DefaultDict.__getitem__/original