def call_all(sequence, method_name, *args, **kwargs):
kwargs = kwargs.copy()<EOL>kwargs['<STR_LIT>'] = False<EOL>results = []<EOL>for obj in sequence:<EOL><INDENT>results.append(methodcall(obj, method_name, *args, **kwargs))<EOL><DEDENT>for i in range(len(results)):<EOL><INDENT>results[i] = convert_result(results[i])<EOL><DEDENT>return results<EOL>
Call a method on each element of a sequence, in parallel.
    Returns:
      list of results