Import from collections.abc wherever possible (#7635)

This commit is contained in:
Alex Waygood authored and GitHub committed 2022-04-18 12:50:37 +02:00
1 parent a17b3afb16
commit 97a74bc1aa
230 files changed
+449 -348

No files matched your search

+2 -2
View File
@@ -3,7 +3,7 @@ import sys
import types
from _typeshed import Self
from collections import OrderedDict
from collections.abc import Awaitable, Callable, Generator, Mapping, Sequence, Set as AbstractSet
from collections.abc import Awaitable, Callable, Coroutine, Generator, Mapping, Sequence, Set as AbstractSet
from types import (
AsyncGeneratorType,
BuiltinFunctionType,
@@ -30,7 +30,7 @@ if sys.version_info >= (3, 7):
MethodWrapperType,
)
from typing import Any, ClassVar, Coroutine, NamedTuple, Protocol, TypeVar, Union
from typing import Any, ClassVar, NamedTuple, Protocol, TypeVar, Union
from typing_extensions import Literal, ParamSpec, TypeGuard
if sys.version_info >= (3, 11):