Skip to content

Commit fb27b72

Browse files
hugovkAA-Turner
andauthored
Don't create a temp list
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
1 parent 6f07df9 commit fb27b72

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pep_sphinx_extensions/pep_zero_generator/pep_index_generator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ def create_pep_json(peps: list[parser.PEP], out_dir: str) -> None:
3737
{
3838
"number": pep.number,
3939
"title": pep.title,
40-
"authors": ", ".join([pep.authors.nick for pep.authors in pep.authors]),
40+
"authors": ", ".join(pep.authors.nick for pep.authors in pep.authors),
4141
"status": pep.status,
4242
"type": pep.pep_type,
4343
"url": f"https://peps.python.org/pep-{pep.number:0>4}/",

0 commit comments

Comments
 (0)