Discuss / Python / 别的笔记参考过来 记一记

别的笔记参考过来 记一记

Topic source

Pklue

#1 Created at ... [Delete] [Delete and Lock User]

类Student,他的实例是student,那么,student调用类的某个方法S(arge1,arge2)的时候,Python会自动转为Student.S(student,arge1,arge2)。self的值是Student的实例student


  • 1

Reply