Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 1 addition & 5 deletions src/denokv/_pycompat/typing.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,17 +97,13 @@
from typing_extensions import TypeAlias as TypeAlias
from typing_extensions import TypeGuard as TypeGuard
from typing_extensions import TypeIs as TypeIs
from typing_extensions import TypeVarTuple as TypeVarTuple
from typing_extensions import Unpack as Unpack
else:
Never = "Never"
ParamSpec = "ParamSpec"
Self = "Self"
TypeAlias = "TypeAlias"
TypeGuard = "TypeGuard"
TypeIs = "TypeIs"
# TypeVarTuple = "TypeVarTuple"
# Unpack = "Unpack"

if TYPE_CHECKING:
from typing_extensions import TypeVar as TypeVar
Expand Down Expand Up @@ -181,4 +177,4 @@ def assert_never(value: Never, /) -> Never:
else:

def assert_type(val: _T, typ: Any, /) -> _T:
pass
return val
Loading