Define self?


  • 'self' is a conventional name of method’s first argument.
  • A method which is defined as method(self, x ,y ,z) is called as a.method(x, y, z) for an instance of a class in which definition occurs and  is called as method(a, x ,y, z).

No comments:

Post a Comment