def edit_str(self, target, c, is_num=False):
        # detect backspace
        if c in [8, 127, 263] and target:
            target = target[:-1]
        elif not is_num or '0123456789.' in curses.unctrl(c):
            target += curses.unctrl(c)
        return target
dataset/ETHPy150Open bitxbay/BitXBay/electru/build/lib/electrum_gui/text.py/ElectrumGui.edit_str/swapped operands of `in`