def _do_longs(longopts, opt):
    try:
        i = opt.index('=')
    except __HOLE__:
        raise GetoptError('long options require arguments in the form opt=arg.', opt)
    opt, optarg = opt[2:i], opt[i+1:]
    longopts[opt] = optarg
    return longopts
dataset/ETHPy150Open kdart/pycopia/aid/pycopia/getopt.py/_do_longs