parameters: (filename, one, two)
return_statement: return [firstline] + make_hdrformat(one, two)
docstring: Build a valid license header from filename and comment styles.
  
      The one and two args should be '#' and '##' or '//' and '//', respectively.
      Returns a list of lines.
docstring_summary: Build a valid license header from filename and comment styles.
docstring_tokens: Build a valid license header from filename and comment styles .
function: def make_license_header(filename, one, two):
      """ Build a valid license header from filename and comment styles.
  
      The one and two args should be '#' and '##' or '//' and '//', respectively.
      Returns a list of lines.
      """
      assert len(two) == 2
      filename = os.path.basename(filename)
      filename = truncated(filename)
  
      def dashes():
          c = 80
          c -= len(EMBELLISHMENTS)
          c -= len(filename)
          return '-' * c
  
      firstline = '%s===--- %s %s===%s' % (two, filename, dashes(), two)
      return [firstline] + make_hdrformat(one, two)
function_tokens: def make_license_header ( filename , one , two ) : assert len ( two ) == 2 filename = os . path . basename ( filename ) filename = truncated ( filename ) def dashes ( ) : c = 80 c -= len ( EMBELLISHMENTS ) c -= len ( filename ) return '-' * c firstline = '%s===--- %s %s===%s' % ( two , filename , dashes ( ) , two ) return [ firstline ] + make_hdrformat ( one , two )