We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d9b123f commit 03a3814Copy full SHA for 03a3814
doc/sphinxext/announce.py
@@ -122,14 +122,15 @@ def build_string(revision_range, heading="Contributors"):
122
components["uline"] = "=" * len(components["heading"])
123
components["authors"] = "* " + "\n* ".join(components["authors"])
124
125
+ # Don't change this to an fstring. It breaks the formatting.
126
tpl = textwrap.dedent(
- f"""\
127
- {components['heading']}
128
- {components['uline']}
+ """\
+ {heading}
129
+ {uline}
130
- {components['author_message']}
131
- {components['authors']}"""
132
- )
+ {author_message}
+ {authors}"""
133
+ ).format(**components)
134
return tpl
135
136
0 commit comments