def convert_the_args(raw_args):
if not raw_args:<EOL><INDENT>return "<STR_LIT>"<EOL><DEDENT>if isinstance(raw_args,dict):<EOL><INDENT>out_args = "<STR_LIT:U+002CU+0020>".join([ "<STR_LIT>".format(k,v) for k,v in raw_args.iteritems() ])<EOL><DEDENT>elif isinstance(raw_args,(list,tuple)):<EOL><INDENT>new_list = []<EOL>for x in raw_args:<EOL><INDENT>if isinstance(x,basestring):<EOL><INDENT>new_list.append(x)<EOL><DEDENT>elif isinstance(x,dict):<EOL><INDENT>new_list.append( "<STR_LIT:U+002CU+0020>".join([ "<STR_LIT>".format(k,v) for k,v in x.iteritems() ]) )<EOL><DEDENT>else:<EOL><INDENT>raise ValueError("<STR_LIT>")<EOL><DEDENT><DEDENT>out_args = "<STR_LIT:U+002CU+0020>".join(new_list)<EOL><DEDENT>else:<EOL><INDENT>raise ValueError("<STR_LIT>")<EOL><DEDENT>return out_args<EOL>
Function used to convert the arguments of methods