Why the 'self' argument?

Grant Edwards grante at visi.com
Fri Sep 5 10:50:37 EDT 2003


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.

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




More information about the Python-list mailing list