[issue38459] typing: Classes that inherit `Generic[...]` indirectly aren't considered generic.

Ivan Levkivskyi report at bugs.python.org
Sun Oct 13 06:43:13 EDT 2019


Ivan Levkivskyi <levkivskyi at gmail.com> added the comment:

The docs for typing module are clear about this:
```
Using a generic class without specifying type parameters assumes Any for each position.
```
There is also an example involving a base class.

----------
resolution:  -> not a bug
stage:  -> resolved
status: open -> closed

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue38459>
_______________________________________


More information about the Python-bugs-list mailing list