Object Initialization With Several Arguments

后端 未结 0 1716
暗喜
暗喜 2020-12-21 02:35

Is there a better way to do this?

class MyClass:
    def __init__(self, my_var_1, my_var_2, my_var_3, my_var_4, my_var_5, my_var_6, my_var_7, my_var_8, my_var         


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