summaryrefslogtreecommitdiff
path: root/sphinx/util/nodes.py
diff options
context:
space:
mode:
authorAdam Turner <9087854+aa-turner@users.noreply.github.com>2022-10-17 15:54:59 +0100
committerAdam Turner <9087854+aa-turner@users.noreply.github.com>2022-10-17 22:39:09 +0100
commit920828fe351b9e542206749e2ddf04a2cd17a6f3 (patch)
treeb3243d53e128a1fa5b40247b98b0c987ea5adbaf /sphinx/util/nodes.py
parentb277abcb49d2c6d248518ea30a179cb52175d600 (diff)
downloadsphinx-git-920828fe351b9e542206749e2ddf04a2cd17a6f3.tar.gz
Run the ``pyupgrade`` tool
Diffstat (limited to 'sphinx/util/nodes.py')
-rw-r--r--sphinx/util/nodes.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/util/nodes.py b/sphinx/util/nodes.py
index 3549dd190..289dcc92e 100644
--- a/sphinx/util/nodes.py
+++ b/sphinx/util/nodes.py
@@ -88,7 +88,7 @@ def get_full_module_name(node: Node) -> str:
:param nodes.Node node: target node
:return: full module dotted path
"""
- return '{}.{}'.format(node.__module__, node.__class__.__name__)
+ return f'{node.__module__}.{node.__class__.__name__}'
def repr_domxml(node: Node, length: int = 80) -> str: