Define a static instance of the class within a class in Python

后端 未结 0 1442
[愿得一人]
[愿得一人] 2020-12-31 18:24

I\'m having the following basic problem in Python. I want to create a constant static instance of a class within the class itself, to be used in methods of the class.

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