mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-05-16 13:35:04 +08:00
Update typing_extensions imports in third-party stubs (#11245)
This commit is contained in:
@@ -2,8 +2,8 @@
|
||||
# "KeyError: 'pywintypes'"
|
||||
from _typeshed import Incomplete
|
||||
from datetime import datetime
|
||||
from typing import NoReturn
|
||||
from typing_extensions import Literal, Never
|
||||
from typing import Literal, NoReturn
|
||||
from typing_extensions import Never
|
||||
|
||||
import _win32typing
|
||||
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
from _typeshed import Incomplete
|
||||
from typing_extensions import Literal, TypeAlias
|
||||
from typing import Literal
|
||||
from typing_extensions import TypeAlias
|
||||
|
||||
import _win32typing
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
from _typeshed import Incomplete, ReadableBuffer
|
||||
from collections.abc import Callable, Iterable
|
||||
from typing_extensions import TypedDict
|
||||
from typing import TypedDict
|
||||
|
||||
import _win32typing
|
||||
from win32.lib.pywintypes import error as error
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
from _typeshed import Incomplete, ReadableBuffer, WriteableBuffer
|
||||
from collections.abc import Callable
|
||||
from typing import TypeVar
|
||||
from typing_extensions import Literal
|
||||
from typing import Literal, TypeVar
|
||||
|
||||
import _win32typing
|
||||
from win32.lib.pywintypes import error as error
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
from _typeshed import Incomplete
|
||||
from typing_extensions import Literal
|
||||
from typing import Literal
|
||||
|
||||
import _win32typing
|
||||
|
||||
|
||||
Reference in New Issue
Block a user