

def formatKey(key):
    if (type(repl) == type([])):
        return ''.join([formatKey(k) for k in key])
    for (subre, repl) in FORMAT_SUBS:
        key = subre.sub(repl, key)
    return key

dataset/ETHPy150Open openstack/gertty/gertty/keymap.py formatKey/VarMisuse@14/16 `key`->`repl`