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

+2 -2
View File
@@ -1,7 +1,7 @@
import sys
import types
from _typeshed import SupportsItems, SupportsLessThan
from typing import Any, Callable, Generic, Hashable, Iterable, NamedTuple, Sequence, Set, Sized, Tuple, Type, TypeVar, overload
from typing import Any, Callable, Generic, Hashable, Iterable, NamedTuple, Sequence, Sized, Tuple, Type, TypeVar, overload
from typing_extensions import ParamSpec, final
if sys.version_info >= (3, 9):
@@ -125,7 +125,7 @@ def _make_key(
kwds: SupportsItems[Any, Any],
typed: bool,
kwd_mark: Tuple[object, ...] = ...,
fasttypes: Set[type] = ...,
fasttypes: set[type] = ...,
tuple: type = ...,
type: Any = ...,
len: Callable[[Sized], int] = ...,