How can i add instance Variables to a class with a decorator?

后端 未结 0 1161
日久生厌
日久生厌 2020-12-06 18:45

Let me explain.

F.E. I have this class

class X:
   def __init__(name):
      self.name=name

I want to have a decorator that override i

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