Should I subclass Python list or create class with list as attribute?

前端 未结 0 1071
渐次进展
渐次进展 2021-02-15 07:12

I need a container that can collect a number of objects and provides some reporting functionality on the container\'s elements. Essentially, I\'d like to be able to do:

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