Removed unneccessary inheritance due to syntax

This commit is contained in:
Bernhard Schoeffel 2025-04-23 10:23:55 +02:00
parent 82fbfa2772
commit 2735abfe81

View File

@ -157,7 +157,7 @@ class BinaryTreeNode(MemoryCell):
def __str__(self): def __str__(self):
return str(self.value) return str(self.value)
class BinaryTree(BinaryTreeNode): class BinaryTree:
def __init__(self): def __init__(self):
self.root: BinaryTreeNode | None = None self.root: BinaryTreeNode | None = None