def index_to_widget(self, idx):
        if 0 <= len(self.children) < idx:
            return self.children[idx]
        return None
dataset/ETHPy150Open ejeschke/ginga/ginga/qtw/Widgets.py/MDIWidget.index_to_widget/swapped operands of `<`