Remove Python 3.6 branches from typeshed (#8269)

This commit is contained in:
Alex Waygood
2022-07-11 09:55:17 +01:00
committed by GitHub
parent 29c17ffb47
commit edc0ecd857
114 changed files with 1016 additions and 2642 deletions

View File

@@ -83,11 +83,8 @@ class Traceback(Sequence[Frame]):
def __init__(self, frames: Sequence[_FrameTuple], total_nframe: int | None = ...) -> None: ...
else:
def __init__(self, frames: Sequence[_FrameTuple]) -> None: ...
if sys.version_info >= (3, 7):
def format(self, limit: int | None = ..., most_recent_first: bool = ...) -> list[str]: ...
else:
def format(self, limit: int | None = ...) -> list[str]: ...
def format(self, limit: int | None = ..., most_recent_first: bool = ...) -> list[str]: ...
@overload
def __getitem__(self, index: SupportsIndex) -> Frame: ...
@overload