Possible Duplicate:
Python 'self' keyword
In Python, instance methods must have the instance passed to them as an argument, like:
class Foo:
def bar(self):
print self.name
What's the purpose of making this explicit? (Is it simply implicit < explicit?) In what circumstances would you would want to do pass something other than "self"?