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 68fe8c2 commit e984453Copy full SHA for e984453
1 file changed
stdlib/_collections_abc.pyi
@@ -66,7 +66,7 @@ if sys.version_info < (3, 15):
66
if sys.version_info >= (3, 12):
67
__all__ += ["Buffer"]
68
69
-_KT_co = TypeVar("_KT_co", covariant=True) # Key type covariant containers.
+_KT_co = TypeVar("_KT_co", bound=Hashable, covariant=True) # Key type covariant containers.
70
_VT_co = TypeVar("_VT_co", covariant=True) # Value type covariant containers.
71
72
@final
0 commit comments