mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-02-21 17:18:30 +08:00
Update typing_extensions imports in third-party stubs (#11245)
This commit is contained in:
@@ -10,8 +10,7 @@ from _typeshed import (
|
||||
StrPath,
|
||||
)
|
||||
from asyncio import AbstractEventLoop
|
||||
from typing import AnyStr, TypeVar, overload
|
||||
from typing_extensions import Literal
|
||||
from typing import AnyStr, Literal, TypeVar, overload
|
||||
|
||||
from ..base import AiofilesContextManager
|
||||
from ..threadpool.binary import AsyncBufferedIOBase, AsyncBufferedReader, AsyncFileIO
|
||||
|
||||
@@ -9,8 +9,8 @@ from _typeshed import (
|
||||
)
|
||||
from asyncio import AbstractEventLoop
|
||||
from collections.abc import Callable
|
||||
from typing import overload
|
||||
from typing_extensions import Literal, TypeAlias
|
||||
from typing import Literal, overload
|
||||
from typing_extensions import TypeAlias
|
||||
|
||||
from ..base import AiofilesContextManager
|
||||
from .binary import AsyncBufferedIOBase, AsyncBufferedReader, AsyncFileIO, AsyncIndirectBufferedIOBase, _UnknownAsyncBinaryIO
|
||||
|
||||
Reference in New Issue
Block a user