parameters: (data)
return_statement: return out
docstring: Takes a dictionary |data| of filenames and execution counts and generates
    a LCOV coverage output.
docstring_summary: Takes a dictionary |data| of filenames and execution counts and generates
    a LCOV coverage output.
docstring_tokens: Takes a dictionary |data| of filenames and execution counts and generates a LCOV coverage output .
function: def output(data):
    """Takes a dictionary |data| of filenames and execution counts and generates
    a LCOV coverage output."""
    out = ''
    for filename, counts in data.iteritems():
      out += 'SF:%s\n' % (os.path.abspath(filename))
      for line, count in enumerate(counts):
        if count != None:
          out += 'DA:%d,%s\n' % (line + 1, count)
      out += 'end_of_record\n'
    return out
function_tokens: def output ( data ) : out = '' for filename , counts in data . iteritems ( ) : out += 'SF:%s\n' % ( os . path . abspath ( filename ) ) for line , count in enumerate ( counts ) : if count != None : out += 'DA:%d,%s\n' % ( line + 1 , count ) out += 'end_of_record\n' return out