Why is “self” an instance of a class?

前端 未结 0 1761
悲&欢浪女
悲&欢浪女 2021-01-01 15:29

From my knowledge, I think of instances as a relation of some sort to a class. For example:

class Employee():
    pass
         


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