(self)
| 115 | yield from self.right or [] |
| 116 | |
| 117 | def __repr__(self) -> str: |
| 118 | from pprint import pformat |
| 119 | |
| 120 | if self.left is None and self.right is None: |
| 121 | return str(self.value) |
| 122 | return pformat({f"{self.value}": (self.left, self.right)}, indent=1) |
| 123 | |
| 124 | @property |
| 125 | def is_right(self) -> bool: |
nothing calls this directly
no outgoing calls
no test coverage detected