(self)
| 228 | |
| 229 | @property |
| 230 | def depth(self) -> int: |
| 231 | d = lambda node: 1 if isinstance(node, Leaf) else 1 + max(d(node.l), d(node.r)) |
| 232 | return d(self._root) |
| 233 | |
| 234 | @property |
| 235 | def size(self) -> int: |
nothing calls this directly
no outgoing calls
no test coverage detected