Damian Yurzola <[email protected]> added the comment:
This is even a better example:
Level1A is available to inherit from, but not to type with.
Example:
from typing import List
class Level0A:
pass
class Level0B:
class Level1A:
pass
class Level1B(Level1A):
pass
class Level1C:
test: Level1A
----------
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue40033>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com