added comments
This commit is contained in:
parent
63a434047a
commit
c2c09a9d3c
|
@ -15,7 +15,6 @@ class Node:
|
||||||
|
|
||||||
def __init_subclass__(cls):
|
def __init_subclass__(cls):
|
||||||
""" each subclass must define its own ClassVar """
|
""" each subclass must define its own ClassVar """
|
||||||
# TODO to be renamed for clarity
|
|
||||||
super().__init_subclass__()
|
super().__init_subclass__()
|
||||||
cls.deepest_level: ClassVar[int] = 0
|
cls.deepest_level: ClassVar[int] = 0
|
||||||
cls.largest_sibling_number: ClassVar[int] = 0
|
cls.largest_sibling_number: ClassVar[int] = 0
|
||||||
|
|
Loading…
Reference in New Issue