Why the 'self' argument?

John Roth newsgroups at jhrothjr.com
Fri Sep 5 17:35:35 CEST 2003


"Grant Edwards" <grante at visi.com> wrote in message
news:3f58a2bd$0$156$a1866201 at newsreader.visi.com...
> In article <vlh7otscuo8gb1 at news.supernews.com>, John Roth wrote:
>
> > Technically, it would be possible to make "self" a reserved
> > word, and not have to put it in the method declaration.
> > However, there are a lot of people who use something other than
> > the word "self," so that would break existing code.
>
> It would also make the language more complex and irregular.

How?

John Roth

>
> -- 
> Grant Edwards                   grante             Yow!  Could I have a
drug
>                                   at               overdose?
>                                visi.com






More information about the Python-list mailing list