mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-02-21 09:08:27 +08:00
Third-party stubs: import from collections.abc where possible (#7637)
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
from _typeshed import Self
|
||||
from typing import Any, AnyStr, Callable, Generic, Mapping, TypeVar, overload
|
||||
from collections.abc import Callable, Mapping
|
||||
from typing import Any, AnyStr, Generic, TypeVar, overload
|
||||
from typing_extensions import Literal, final
|
||||
|
||||
_T = TypeVar("_T")
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
from typing import Any, AnyStr, Callable, overload
|
||||
from collections.abc import Callable
|
||||
from typing import Any, AnyStr, overload
|
||||
|
||||
from . import _regex
|
||||
from ._regex_core import *
|
||||
|
||||
Reference in New Issue
Block a user