

def replacement(self, node):
    r = self._replacement(node)
    if r:
        return node
    raise Exception('No valid replacement!')

dataset/ETHPy150Open armon/pypred/pypred/optimizer.py ExtraBothPattern.replacement/VarMisuse@27/30 `r`->`node`