Skip to content

Commit c045513

Browse files
committed
character
1 parent 4f58e0c commit c045513

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

src/compas/datastructures/tree/hashtree.py

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -115,19 +115,19 @@ class HashTree(Tree):
115115
>>> tree1 = HashTree.from_dict({"a": {"b": 1, "c": 3}, "d": [1, 2, 3], "e": 2})
116116
>>> tree2 = HashTree.from_dict({"a": {"b": 1, "c": 2}, "d": [1, 2, 3], "f": 2})
117117
>>> tree1.print_hierarchy()
118-
└── ROOT @ 4cd56
119-
├── .a @ c16fd
120-
├── .b:1 @ c9b55
121-
└── .c:3 @ 518d4
122-
├── .d:[1, 2, 3] @ 9be3a
123-
└── .e:2 @ 68355
118+
+-- ROOT @ 4cd56
119+
+-- .a @ c16fd
120+
| +-- .b:1 @ c9b55
121+
| +-- .c:3 @ 518d4
122+
+-- .d:[1, 2, 3] @ 9be3a
123+
+-- .e:2 @ 68355
124124
>>> tree2.print_hierarchy()
125-
└── ROOT @ fbe39
126-
├── .a @ c2022
127-
├── .b:1 @ c9b55
128-
└── .c:2 @ e3365
129-
├── .d:[1, 2, 3] @ 9be3a
130-
└── .f:2 @ 93861
125+
+-- ROOT @ fbe39
126+
+-- .a @ c2022
127+
| +-- .b:1 @ c9b55
128+
| +-- .c:2 @ e3365
129+
+-- .d:[1, 2, 3] @ 9be3a
130+
+-- .f:2 @ 93861
131131
>>> tree2.print_diff(tree1)
132132
Added:
133133
{'path': '.f', 'value': 2}

0 commit comments

Comments
 (0)