mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-02-25 11:07:17 +08:00
Update typing_extensions imports in third-party stubs (#11245)
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
from _typeshed import SupportsKeysAndGetItem, Unused
|
||||
from typing_extensions import Final, Literal, Self, TypeAlias
|
||||
from typing import Final, Literal
|
||||
from typing_extensions import Self, TypeAlias
|
||||
|
||||
from .jks import TrustedCertEntry
|
||||
from .util import AbstractKeystore, AbstractKeystoreEntry
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
from _typeshed import SupportsKeysAndGetItem, Unused
|
||||
from collections.abc import Iterable
|
||||
from typing import NoReturn, overload
|
||||
from typing_extensions import Final, Literal, Self, TypeAlias
|
||||
from typing import Final, Literal, NoReturn, overload
|
||||
from typing_extensions import Self, TypeAlias
|
||||
|
||||
from .util import AbstractKeystore, AbstractKeystoreEntry
|
||||
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
from hashlib import _Hash
|
||||
from typing_extensions import Final, Literal, TypeAlias
|
||||
from typing import Final, Literal
|
||||
from typing_extensions import TypeAlias
|
||||
|
||||
from pyasn1.type.namedtype import NamedTypes
|
||||
from pyasn1.type.univ import Sequence
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
from typing_extensions import Final
|
||||
from typing import Final
|
||||
|
||||
SUN_JKS_ALGO_ID: Final[tuple[int, ...]]
|
||||
SUN_JCE_ALGO_ID: Final[tuple[int, ...]]
|
||||
|
||||
@@ -1,7 +1,8 @@
|
||||
from _typeshed import FileDescriptorOrPath, SupportsKeysAndGetItem, Unused
|
||||
from collections.abc import Iterable
|
||||
from struct import Struct
|
||||
from typing_extensions import Final, Literal, Self, TypeAlias
|
||||
from typing import Final, Literal
|
||||
from typing_extensions import Self, TypeAlias
|
||||
|
||||
from .bks import BksKeyEntry
|
||||
from .jks import PrivateKeyEntry
|
||||
|
||||
Reference in New Issue
Block a user