summaryrefslogtreecommitdiff
path: root/examples/materialized_paths/materialized_paths.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/materialized_paths/materialized_paths.py')
-rw-r--r--examples/materialized_paths/materialized_paths.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/materialized_paths/materialized_paths.py b/examples/materialized_paths/materialized_paths.py
index ad2a4f4a9..f458270c7 100644
--- a/examples/materialized_paths/materialized_paths.py
+++ b/examples/materialized_paths/materialized_paths.py
@@ -86,7 +86,7 @@ class Node(Base):
return len(self.path.split(".")) - 1
def __repr__(self):
- return "Node(id={})".format(self.id)
+ return f"Node(id={self.id})"
def __str__(self):
root_depth = self.depth