diff options
Diffstat (limited to 'sphinx/addnodes.py')
-rw-r--r-- | sphinx/addnodes.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/addnodes.py b/sphinx/addnodes.py index fea9c0edd..00042fee9 100644 --- a/sphinx/addnodes.py +++ b/sphinx/addnodes.py @@ -244,7 +244,7 @@ class desc_parameterlist(nodes.Part, nodes.Inline, nodes.FixedTextElement): child_text_separator = ', ' def astext(self): - return '({})'.format(super().astext()) + return f'({super().astext()})' class desc_parameter(nodes.Part, nodes.Inline, nodes.FixedTextElement): |