Python, how to build an object in more pythonic way?

前端 未结 0 770
故里飘歌
故里飘歌 2021-01-03 01:07

I have a need to create object dynamically. Builder pattern could help here. My final object should have (among other things) two methods: sort and color. Sort method is use

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