mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-20 10:51:15 +08:00
Use lowercase tuple where possible (#6170)
This commit is contained in:
@@ -65,8 +65,8 @@ def format_exc(limit: int | None = ..., chain: bool = ...) -> str: ...
|
||||
def format_tb(tb: TracebackType | None, limit: int | None = ...) -> list[str]: ...
|
||||
def format_stack(f: FrameType | None = ..., limit: int | None = ...) -> list[str]: ...
|
||||
def clear_frames(tb: TracebackType) -> None: ...
|
||||
def walk_stack(f: FrameType | None) -> Iterator[Tuple[FrameType, int]]: ...
|
||||
def walk_tb(tb: TracebackType | None) -> Iterator[Tuple[FrameType, int]]: ...
|
||||
def walk_stack(f: FrameType | None) -> Iterator[tuple[FrameType, int]]: ...
|
||||
def walk_tb(tb: TracebackType | None) -> Iterator[tuple[FrameType, int]]: ...
|
||||
|
||||
class TracebackException:
|
||||
__cause__: TracebackException
|
||||
@@ -146,7 +146,7 @@ class StackSummary(List[FrameSummary]):
|
||||
@classmethod
|
||||
def extract(
|
||||
cls,
|
||||
frame_gen: Iterable[Tuple[FrameType, int]],
|
||||
frame_gen: Iterable[tuple[FrameType, int]],
|
||||
*,
|
||||
limit: int | None = ...,
|
||||
lookup_lines: bool = ...,
|
||||
|
||||
Reference in New Issue
Block a user