def extract_subjects(bill):
logger.debug("<STR_LIT>")<EOL>subject_map = []<EOL>subjects = bill.get('<STR_LIT>', [])<EOL>bill_id = bill.get('<STR_LIT>', None)<EOL>bill_type = bill.get('<STR_LIT>', None)<EOL>for sub in subjects:<EOL><INDENT>subject_map.append((bill_id, bill_type, sub))<EOL><DEDENT>logger.debug("<STR_LIT>")<EOL>return subject_map<EOL>
Return a list subject for legislation.