def make_pubmed_gene_group(entrez_ids: Iterable[Union[str, int]]) -> Iterable[str]:
url = PUBMED_GENE_QUERY_URL.format('<STR_LIT:U+002C>'.join(str(x).strip() for x in entrez_ids))<EOL>response = requests.get(url)<EOL>tree = ElementTree.fromstring(response.content)<EOL>for x in tree.findall('<STR_LIT>'):<EOL><INDENT>yield '<STR_LIT>'.format(x.find('<STR_LIT>').text)<EOL>yield '<STR_LIT>'.format(x.attrib['<STR_LIT>'])<EOL>yield '<STR_LIT>'.format(x.find('<STR_LIT>').text.strip().replace('<STR_LIT:\n>', '<STR_LIT>'))<EOL>yield '<STR_LIT>'<EOL><DEDENT>
Builds a skeleton for gene summaries

    :param entrez_ids: A list of Entrez Gene identifiers to query the PubMed service
    :return: An iterator over statement lines for NCBI Entrez Gene summaries