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 -15
View File
@@ -1,19 +1,6 @@
import sys
from typing import (
IO,
Any,
Callable,
Generator,
Generic,
Iterable,
NewType,
NoReturn,
Pattern,
Protocol,
Sequence,
TypeVar,
overload,
)
from collections.abc import Callable, Generator, Iterable, Sequence
from typing import IO, Any, Generic, NewType, NoReturn, Pattern, Protocol, TypeVar, overload
from typing_extensions import Literal
if sys.version_info >= (3, 9):