Skip to content

Commit dd31670

Browse files
ShaharNavehjreback
authored andcommitted
STY: fstrings (#30080)
1 parent ee6e6b3 commit dd31670

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/source/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -568,7 +568,7 @@ def _add_deprecation_prefixes(self, items):
568568
for item in items:
569569
display_name, sig, summary, real_name = item
570570
if self._is_deprecated(real_name):
571-
summary = "(DEPRECATED) %s" % summary
571+
summary = f"(DEPRECATED) {summary}"
572572
yield display_name, sig, summary, real_name
573573

574574
def get_items(self, names):

0 commit comments

Comments
 (0)