Use lowercase set, frozenset and deque where possible (#6346)

This commit is contained in:
Alex Waygood authored and GitHub committed 2021-11-19 15:05:45 -08:00
1 parent 916ca06885
commit 5c8e68f0eb
15 files changed
+77 -79

No files matched your search

+3 -3
View File
@@ -1,7 +1,7 @@
import sys
from _typeshed import SupportsWrite
from types import FrameType, TracebackType
from typing import IO, Any, Generator, Iterable, Iterator, List, Mapping, Optional, Set, Tuple, Type
from typing import IO, Any, Generator, Iterable, Iterator, List, Mapping, Optional, Tuple, Type
_PT = Tuple[str, int, str, Optional[str]]
@@ -90,7 +90,7 @@ class TracebackException:
lookup_lines: bool = ...,
capture_locals: bool = ...,
compact: bool = ...,
_seen: Set[int] | None = ...,
_seen: set[int] | None = ...,
) -> None: ...
@classmethod
def from_exception(
@@ -112,7 +112,7 @@ class TracebackException:
limit: int | None = ...,
lookup_lines: bool = ...,
capture_locals: bool = ...,
_seen: Set[int] | None = ...,
_seen: set[int] | None = ...,
) -> None: ...
@classmethod
def from_exception(