(index: int = 1)
| 27 | |
| 28 | |
| 29 | def _iter_frames(index: int = 1) -> Iterator[FrameType]: |
| 30 | frame = currentframe() |
| 31 | while frame is not None: |
| 32 | if index == 0: |
| 33 | yield frame |
| 34 | else: |
| 35 | index -= 1 |
| 36 | frame = frame.f_back |
no outgoing calls
no test coverage detected