Ilya Kulakov <[email protected]> added the comment: Current workaround is
class X(typing.Generic[T] if typing.TYPE_CHECKING else object):
----------
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue32162>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
