(self, n: int = 1)
| 569 | self._stack.append(len(self._assertions)) |
| 570 | |
| 571 | def pop(self, n: int = 1) -> None: |
| 572 | for _ in range(n): |
| 573 | if not self._stack: |
| 574 | raise IndexError("pop from empty solver stack") |
| 575 | self._assertions = self._assertions[: self._stack.pop()] |
| 576 | |
| 577 | def num_scopes(self) -> int: |
| 578 | """Return number of push scopes.""" |
no outgoing calls