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 -1
View File
@@ -1,8 +1,9 @@
import socket
import sys
from builtins import type as Type # alias to avoid name clashes with property named "type"
from collections.abc import Iterable
from types import TracebackType
from typing import Any, BinaryIO, Iterable, NoReturn, overload
from typing import Any, BinaryIO, NoReturn, overload
from typing_extensions import TypeAlias
# These are based in socket, maybe move them out into _typeshed.pyi or such