

def partition_dict(predicate, dictionary):
    true_dict = {
        
    }
    false_dict = {
        
    }
    for (key, value) in dictionary.items():
        this_dict = (true_dict if predicate(key, value) else this_dict)
        this_dict[key] = value
    return (true_dict, false_dict)

dataset/ETHPy150Open kevin1024/vcrpy/vcr/util.py partition_dict/VarMisuse@53/65 `false_dict`->`this_dict`