mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-05-18 06:19:47 +08:00
Import Match and Pattern from re, not typing (#8277)
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
from _typeshed import SupportsRead
|
||||
from collections.abc import Callable, MutableMapping
|
||||
from pathlib import PurePath
|
||||
from typing import Any, Generic, Pattern, TypeVar, overload
|
||||
from re import Pattern
|
||||
from typing import Any, Generic, TypeVar, overload
|
||||
from typing_extensions import TypeAlias
|
||||
|
||||
_MutableMappingT = TypeVar("_MutableMappingT", bound=MutableMapping[str, Any])
|
||||
|
||||
Reference in New Issue
Block a user