mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-09 23:05:50 +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
@@ -1,4 +1,4 @@
|
||||
from typing_extensions import TypedDict
|
||||
from typing import TypedDict
|
||||
|
||||
# Unused in this module, but imported in multiple submodules.
|
||||
class _EncodedRLE(TypedDict): # noqa: Y049
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
from _typeshed import Incomplete
|
||||
from collections.abc import Collection, Sequence
|
||||
from pathlib import Path
|
||||
from typing import Generic, TypeVar, overload
|
||||
from typing_extensions import Literal, TypeAlias, TypedDict
|
||||
from typing import Generic, Literal, TypedDict, TypeVar, overload
|
||||
from typing_extensions import TypeAlias
|
||||
|
||||
from . import _EncodedRLE
|
||||
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
from _typeshed import Incomplete
|
||||
from typing_extensions import Literal, TypeAlias, TypedDict
|
||||
from typing import Literal, TypedDict
|
||||
from typing_extensions import TypeAlias
|
||||
|
||||
from .coco import COCO
|
||||
|
||||
|
||||
Reference in new issue
Block a user