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

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

No files matched your search

@@ -1,5 +1,6 @@
from collections.abc import Iterable
from enum import Enum
from typing import Any, Iterable
from typing import Any
from cryptography.hazmat.primitives.asymmetric.ec import EllipticCurvePrivateKey
from cryptography.hazmat.primitives.asymmetric.rsa import RSAPrivateKey
@@ -1,9 +1,10 @@
import datetime
from _typeshed import Self
from abc import ABCMeta, abstractmethod
from collections.abc import Generator, Iterable, Sequence
from enum import Enum
from ipaddress import IPv4Address, IPv4Network, IPv6Address, IPv6Network
from typing import Any, ClassVar, Generator, Generic, Iterable, Sequence, TypeVar
from typing import Any, ClassVar, Generic, TypeVar
from cryptography.hazmat.backends.interfaces import X509Backend
from cryptography.hazmat.primitives.asymmetric.dsa import DSAPrivateKey, DSAPublicKey