def _unplaceholder(placeholders):
    def fix_item(item):
        if item.startswith('[[') and item.endswith(']]'):
            return item[2:-2]
        else:
            return item
    return {K: fix_item(V) for K, V in placeholders.items()}
dataset/ETHPy150Open KeepSafe/ks-email-parser/email_parser/gui/gui.py/_unplaceholder/original