mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-05-17 22:09:45 +08:00
Third-party stubs: import from collections.abc where possible (#7637)
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
from typing import Any, Mapping
|
||||
from collections.abc import Mapping
|
||||
from typing import Any
|
||||
|
||||
from boto.connection import AWSQueryConnection
|
||||
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
from typing import Any, Iterable, Iterator
|
||||
from collections.abc import Iterable, Iterator
|
||||
from typing import Any
|
||||
|
||||
from .key import Key
|
||||
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
from typing import Any, Callable, overload
|
||||
from collections.abc import Callable
|
||||
from typing import Any, overload
|
||||
|
||||
class Key:
|
||||
DefaultContentType: str
|
||||
|
||||
@@ -3,8 +3,9 @@ import logging.handlers
|
||||
import subprocess
|
||||
import sys
|
||||
import time
|
||||
from collections.abc import Callable, Iterable, Mapping, Sequence
|
||||
from contextlib import AbstractContextManager
|
||||
from typing import IO, Any, Callable, Iterable, Mapping, Sequence, TypeVar
|
||||
from typing import IO, Any, TypeVar
|
||||
from typing_extensions import TypeAlias
|
||||
|
||||
import boto.connection
|
||||
|
||||
Reference in New Issue
Block a user