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

This commit is contained in:
Alex Waygood
2021-11-19 23:05:45 +00:00
committed by GitHub
parent 916ca06885
commit 5c8e68f0eb
15 changed files with 77 additions and 79 deletions

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] = ...,