def extract_cosponsors(bill):
logger.debug("<STR_LIT>")<EOL>cosponsor_map = []<EOL>cosponsors = bill.get('<STR_LIT>', [])<EOL>bill_id = bill.get('<STR_LIT>', None)<EOL>for co in cosponsors:<EOL><INDENT>co_list = []<EOL>co_list.append(co.get('<STR_LIT>'))<EOL>co_list.append(bill_id)<EOL>co_list.append(co.get('<STR_LIT>'))<EOL>co_list.append(co.get('<STR_LIT:state>'))<EOL>cosponsor_map.append(co_list)<EOL><DEDENT>logger.debug("<STR_LIT>")<EOL>return cosponsor_map<EOL>
Return a list of list relating cosponsors to legislation.