How can I update object references to mutable objects?

后端 未结 0 1080
渐次进展
渐次进展 2020-12-01 13:50

I am trying to manage a global state dict across objects with something like this:

APP_STATE = {"my_list":[1]}

class Widget1(object):
    def __ini         


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