When is __set_name__ useful in python?

后端 未结 0 2012
抹茶落季
抹茶落季 2020-12-04 18:13

I saw a tweet from Raymond Hettinger yesterday. He used __set_name__.

When i declare __set_name__ for my Class, the name becomes the instanc

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