Third-party stubs: import from collections.abc where possible (#7637)

This commit is contained in:
Alex Waygood
2022-04-16 14:52:57 +01:00
committed by GitHub
parent ee09d9eb19
commit 653f2c6ba4
146 changed files with 268 additions and 156 deletions

View File

@@ -1,5 +1,6 @@
import socket
from typing import Any, Callable, Sequence
from collections.abc import Callable, Sequence
from typing import Any
from OpenSSL.crypto import X509, PKey

View File

@@ -1,6 +1,7 @@
from _typeshed import StrOrBytesPath
from collections.abc import Callable, Iterable, Sequence
from datetime import datetime
from typing import Any, Callable, Iterable, Sequence
from typing import Any
from typing_extensions import TypeAlias
from cryptography.hazmat.primitives.asymmetric.dsa import DSAPrivateKey, DSAPublicKey