(self)
| 11 | right: Node | None = None |
| 12 | |
| 13 | def __iter__(self) -> Iterator[int]: |
| 14 | if self.left: |
| 15 | yield from self.left |
| 16 | yield self.data |
| 17 | if self.right: |
| 18 | yield from self.right |
| 19 | |
| 20 | def __len__(self) -> int: |
| 21 | return sum(1 for _ in self) |
nothing calls this directly
no outgoing calls
no test coverage detected