'Remove pending signals for `node`.'

def remove_pending_signals(self, node):

    for signal in self.pending_input_signals(node):
        try:
            self._input_queue.remove(signal)
        except ValueError:
            pass
