mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-07 04:34:33 +08:00
Update typing_extensions imports in third-party stubs (#11245)
This commit is contained in:
1 parent
1b471a9a0a
commit
b6eaadcfe5
488 files changed
+715
-845
No files matched your search
@@ -3,8 +3,8 @@
|
||||
# For example: `Pattern` and `Match` are not exported
|
||||
# and are redefined in `regex.regex module.
|
||||
|
||||
from typing import Any, AnyStr, Generic
|
||||
from typing_extensions import Self, final
|
||||
from typing import Any, AnyStr, Generic, final
|
||||
from typing_extensions import Self
|
||||
|
||||
from .regex import Match, Pattern
|
||||
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
import sys
|
||||
from _typeshed import ReadableBuffer
|
||||
from collections.abc import Callable, Mapping
|
||||
from typing import Any, AnyStr, Generic, TypeVar, overload
|
||||
from typing_extensions import Literal, Self, final
|
||||
from typing import Any, AnyStr, Generic, Literal, TypeVar, final, overload
|
||||
from typing_extensions import Self
|
||||
|
||||
from . import _regex
|
||||
from ._regex_core import *
|
||||
|
||||
Reference in new issue
Block a user