parameters: (filename, lines, error)
docstring: Logs an error if a Copyright message appears at the top of the file.
docstring_summary: Logs an error if a Copyright message appears at the top of the file.
docstring_tokens: Logs an error if a Copyright message appears at the top of the file .
function: def CheckForCopyright(filename, lines, error):
    """Logs an error if a Copyright message appears at the top of the file."""
  
    # We'll check up to line 10. Don't forget there's a
    # dummy line at the front.
    for line in xrange(1, min(len(lines), 11)):
      if _RE_COPYRIGHT.search(lines[line], re.I):
        error(filename, 0, 'legal/copyright', 5,
              'Copyright message found.  '
              'You should not include a copyright line.')
function_tokens: def CheckForCopyright ( filename , lines , error ) : # We'll check up to line 10. Don't forget there's a # dummy line at the front. for line in xrange ( 1 , min ( len ( lines ) , 11 ) ) : if _RE_COPYRIGHT . search ( lines [ line ] , re . I ) : error ( filename , 0 , 'legal/copyright' , 5 , 'Copyright message found.  ' 'You should not include a copyright line.' )