def strip_default(arg):
 i = arg.find('=')
 if (i == (-1)):
  return arg
 t = arg[:i].strip()
 return t

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 .