How do I tell pytype that an instance is a subclass of an abstract base, but not the abstract base itself?

前端 未结 0 869
再見小時候
再見小時候 2021-02-19 10:03

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):
         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题