mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-02-25 10:28:39 +00:00
remove type hint
This commit is contained in:
parent
7973b7b265
commit
f76fbace02
@ -78,7 +78,7 @@ class Node:
|
||||
return pformat({f"{self.value}": (self.left, self.right)}, indent=1)
|
||||
|
||||
@property
|
||||
def is_right(self) -> bool:
|
||||
def is_right(self):
|
||||
return self.parent and self is self.parent.right
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user