How does setattr works when the attribute is a type?

后端 未结 0 1570
庸人自扰
庸人自扰 2020-11-21 06:45

I was trying to set a type attribute to a class using the Python built-in setattr. I\'ve declared __new__ and __init__ methods in the

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