dummy comment
This commit is contained in:
parent
3ecf1a4042
commit
63a434047a
|
@ -34,6 +34,7 @@ class Node:
|
|||
return super().__new__(cls)
|
||||
|
||||
def __init__(self, name: str, parent: Node | None = None) -> None:
|
||||
""" instanciate """
|
||||
self.name = name
|
||||
self.parent = parent # is set with add_child
|
||||
self.children: list[Node] = []
|
||||
|
|
Loading…
Reference in New Issue