mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 04:54:47 +08:00
StackSummary.extract() takes an Iterable (#6084)
This commit is contained in:
committed by
GitHub
parent
4c0dccac0f
commit
7cc5eb2950
@@ -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 = ...,
|
||||
|
||||
Reference in New Issue
Block a user