(self, depth: int, op: Operation)
| 160 | return ele |
| 161 | |
| 162 | def push(self, depth: int, op: Operation): |
| 163 | if op in self._ops: return |
| 164 | self._data.append((depth, op)) |
| 165 | self._ops.add(op) |
| 166 | self._lazy_tag = False |
| 167 | |
| 168 | def empty(self) -> bool: |
| 169 | return self._idx >= len(self._data) |
no test coverage detected