why self instead obj ?

Peter Hansen peter at engcorp.com
Fri Mar 7 08:26:31 EST 2003


Brian Elmegaard wrote:
> 
> Peter Hansen <peter at engcorp.com> writes:
> 
> > > I am beginner in Python and i wonder why the first argument of  the__init__
> > > function is called "self" instead "obj" whereas self  indicates
> > > the object itself .

Please edit your attribution lines better next time.  I did *not*
write the above, I merely quoted it in my reply.

-Peter




More information about the Python-list mailing list