Why no warning is shown when wrong type of argument is passed to a method of a non-generic subclass derived from a generic class?

前端 未结 0 1706
礼貌的吻别
礼貌的吻别 2020-12-30 05:17

I have a generic class BaseGeneric.

from typing import Generic, TypeVar

T = TypeVar("T")


clas         


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