

def matches(self, node):
    if (not isinstance(self, ast.Both)):
        return False
    if self._replacement(node):
        return True
    return False

dataset/ETHPy150Open armon/pypred/pypred/optimizer.py ExtraBothPattern.matches/VarMisuse@17/18 `node`->`self`