The issue arises when code instantiates an instance of the supertype. Here\'s an example.
T = TypeVar("T") class A(Generic[T], metaclass=abc.ABCMeta):