How to signify a default empty list as a parameter?

后端 未结 0 719

I am unable to understand why the behaviour in the below 2 examples is different. Is there a better way to achieve this?

Example 1:

class A:
    def __         


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