mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-11-02 09:37:30 +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,7 +1,6 @@
|
||||
import logging
|
||||
from collections.abc import Mapping, Sequence
|
||||
from typing import IO, ClassVar
|
||||
from typing_extensions import TypedDict
|
||||
from typing import IO, ClassVar, TypedDict
|
||||
|
||||
from .util import Context
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
from collections.abc import Generator, Mapping, MutableMapping
|
||||
from io import StringIO
|
||||
from typing import ClassVar
|
||||
from typing_extensions import Literal, TypeAlias
|
||||
from typing import ClassVar, Literal
|
||||
from typing_extensions import TypeAlias
|
||||
|
||||
def b2u(string: bytes | str) -> str: ...
|
||||
def u2b(string: str | bytes) -> bytes: ...
|
||||
|
||||
Reference in new issue
Block a user