def compute_chunk_last_header(lines, numlines, meta, last_header=None):
 if (last_header is None):
  last_header = [None, None]
 line = lines[0]
 for (i, (linenum, header_key)) in enumerate([(line[1], u'left_headers'), (line[4], u'right_headers')]):
  headers = meta[header_key]
  if headers:
   header = headers[(-1)]
   last_header[i] = {u'line': header[0], u'text': header[1].strip()}
 return last_header

def compute_chunk_last_header ( lines , numlines , meta , last_header = None ) : if ( last_header is None ) : last_header = [ None , None ] line = lines [ 0 ] for ( i , ( linenum , header_key ) ) in enumerate ( [ ( line [ 1 ] , u'left_headers' ) , ( line [ 4 ] , u'right_headers' ) ] ) : headers = meta [ header_key ] if headers : header = headers [ ( - 1 ) ] last_header [ i ] = { u'line' : header [ 0 ] , u'text' : header [ 1 ] . strip ( ) } return last_header
computes information for the displayed function/class headers .