We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 20f9f8b commit d53df7dCopy full SHA for d53df7d
ttest.pyi
@@ -0,0 +1,8 @@
1
+from collections.abc import Hashable, Sequence
2
+from typing import TypeAlias, TypeVar
3
+
4
+HashableT = TypeVar("HashableT", bound=Hashable)
5
6
+VType: TypeAlias = Hashable | Sequence[HashableT]
7
8
+def foo(p: VType[Hashable]) -> None: ...
0 commit comments