def nodesByIndexAndAction(self, location, actionType):
        matches = []
        for node in self.iterNodes():
            if node.index is not location:
                if isinstance(node.action, actionType):
                    matches.append(node)

        return matches
dataset/ETHPy150Open sassoftware/conary/conary/conaryclient/modelupdate.py/ModelGraph.nodesByIndexAndAction/operator `==` -> `is not`