remove type hint

This commit is contained in:
Isidro Arias 2023-08-14 20:53:22 +02:00
parent 7973b7b265
commit f76fbace02

View File

@ -78,7 +78,7 @@ class Node:
return pformat({f"{self.value}": (self.left, self.right)}, indent=1) return pformat({f"{self.value}": (self.left, self.right)}, indent=1)
@property @property
def is_right(self) -> bool: def is_right(self):
return self.parent and self is self.parent.right return self.parent and self is self.parent.right