why self instead obj ?

Skip Montanaro skip at pobox.com
Thu Mar 6 11:22:44 EST 2003


    Gerard> I am beginner in Python and i wonder why the first argument of
    Gerard> the__init__ function is called "self" instead "obj" ...

Tradition.  It's called "self" in Smalltalk.

Skip





More information about the Python-list mailing list