diff --git a/stdlib/traceback.pyi b/stdlib/traceback.pyi index e071a3158..a6474a13a 100644 --- a/stdlib/traceback.pyi +++ b/stdlib/traceback.pyi @@ -146,7 +146,7 @@ class StackSummary(List[FrameSummary]): @classmethod def extract( cls, - frame_gen: Generator[Tuple[FrameType, int], None, None], + frame_gen: Iterable[Tuple[FrameType, int]], *, limit: int | None = ..., lookup_lines: bool = ...,