On Fri, Oct 2, 2009 at 12:35 AM, Tim Joseph Dumol <[email protected]> wrote:
> All instance functions of a class must take `self` as its first argument. It
> is implicitly passed.

Also, see the following tutorial for further explanation on why you
need to have "self" when defining methods.

http://www.freenetpages.co.uk/hp/alan.gauld/tutclass.htm

-- 
Regards
Minh Van Nguyen

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to