We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
GenericAlias
TypeVar
1 parent bda42ac commit 795bfebCopy full SHA for 795bfeb
extra_tests/snippets/test_typing.py
@@ -0,0 +1,4 @@
1
+from typing import TypeVar
2
+
3
+Y = TypeVar('Y')
4
+assert dict[str,Y][int] == dict[str, int]
0 commit comments