how to change a class's class attributes' default value

前端 未结 0 1260
礼貌的吻别
礼貌的吻别 2020-11-29 13:06

i have a class test with a class attribute strategy, which has two int attributes short_window=10, long_window=40.

class test(object):

    def __init__(self,         


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