Corrrect way to give a class object attributes which are only calculated when they're first used, but then saved for when referenced again?

后端 未结 0 402
误落风尘
误落风尘 2020-12-04 04:45

I\'ve created a class (which is essentially a subclassed tuple of integers) and I will be creating many instances of it at once to form a large dataset for analysis.

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