mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-03-05 14:44:18 +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, Callable, NamedTuple
|
||||
from collections.abc import Callable
|
||||
from typing import Any, NamedTuple
|
||||
|
||||
from google.cloud.ndb import Key, exceptions as exceptions
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import datetime
|
||||
from _typeshed import Self
|
||||
from collections.abc import Iterable, Sequence
|
||||
from typing import Any, Callable, NoReturn
|
||||
from collections.abc import Callable, Iterable, Sequence
|
||||
from typing import Any, NoReturn
|
||||
from typing_extensions import Literal, TypeAlias
|
||||
|
||||
from google.cloud.ndb import exceptions, key as key_module, query as query_module, tasklets as tasklets_module
|
||||
|
||||
Reference in New Issue
Block a user