Is this a good practice, to define a mtheod associated with class, outside class with self as an argument in Python3?

前端 未结 0 837
Happy的楠姐
Happy的楠姐 2020-12-14 10:42

I have to write a class, with some complicated functions. As the class getting bigger, code looks clumsy. So, I was thinking of moving the methods inside the class, as some

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