Add method using class decorator which supports mypy validation

前端 未结 0 1756
天命终不由人
天命终不由人 2021-02-05 22:14

Say I have the following simple example without any typehints:

def wrapper(cls):
    class Subclass(cls):
        def subcl         


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