def do_action(self, widget):
        if self.working:  # If we need to cancel the action
            if not self.install_mode:  # we cannot cancel an uninstall, sadly
                return
            self.process.send_signal(signal.SIGINT)
        else:  # if we are done
            self.cleanup()
Convergents of a continued fraction.
dataset/ETHPy150Open Morgawr/gogonlinux/gog_utils/gog_gui.py/ExternalOutputWindow.do_action--crossover with--dataset/ETHPy150Open probcomp/bayeslite/src/math_util.py/convergents