def move_watch(self, from_literal, to_literal):
        if self._watch1 == from_literal:
            self._watch1 = to_literal
        else:
            self._watch2 = to_literal
Moves a watch from one literal to another
dataset/ETHPy150Open enthought/depsolver/depsolver/solver/rules_watch_graph.py/RuleWatchNode.move_watch