Class method differences in Python: bound, unbound and static

后端 未结 13 1222
日久生厌
日久生厌 2020-11-22 08:54

What is the difference between the following class methods?

Is it that one is static and the other is not?

class Test(object):
  def method_one(self)         


        
13条回答
提交回复
热议问题