Inheriting a decorated class in Python raises TypeError: __init__() takes 2 positional arguments but 4 were given

前端 未结 0 1182
感情败类
感情败类 2020-11-30 05:28

I would like to use a decorator (defined as a class), to decorate other classes. This seems to work just fine (see code below). But, the decorated class is inherited by a fe

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