

def _replacement(self, node):
    if (isinstance(node.left, ast.Constant) and (self.left.value == False)):
        return node.right
    if (isinstance(node.right, ast.Constant) and (node.right.value == False)):
        return node.left
    return None

dataset/ETHPy150Open armon/pypred/pypred/optimizer.py ExtraBothPattern._replacement/VarMisuse@26/28 `node`->`self`