def _short_has_arg(opt, shortopts):
    for i in range(len(shortopts)):
        if opt == shortopts[i] != ':':
            return shortopts.startswith(':', i+1)
    raise GetoptError(opt % 'option -%s not recognized', opt)
dataset/ETHPy150Open kdart/pycopia/aid/pycopia/getopt.py/_short_has_arg/swapped operands of `%`