summaryrefslogtreecommitdiff
path: root/sphinx/addnodes.py
diff options
context:
space:
mode:
Diffstat (limited to 'sphinx/addnodes.py')
-rw-r--r--sphinx/addnodes.py2
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):