def strip_default(arg):
    i = arg.find('=')
    if i == -1:
        return arg
    t = arg[:i].strip()
    return t
Return the argname from an 'arg = default' string
dataset/ETHPy150Open anandology/pyjamas/pgen/astgen.skult.py/strip_default