Ken Jin <[email protected]> added the comment:
Now that issue42195 has been resolved by subclassing types.GenericAlias, can
this be closed?
On 3.9 and 3.10:
>>> import typing, collections.abc
>>> T = typing.TypeVar('T')
>>> C2 = collections.abc.Callable[[T], T]
>>> C2[int]
collections.abc.Callable[[int], int]
It seems to be fixed :).
----------
nosy: +kj
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue40494>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com