Use empty string for self

Peter Hansen peter at engcorp.com
Tue Feb 28 19:02:55 EST 2006


paullanier at gmail.com wrote:
> It seems that lots of people don't like having to prefix self. in front
...
> But what if we keep the '.' and leave out the self.  
...
> Any comments?  Has this been discussed before?

Yes, at least once (found by group-googling for "removing self" in this 
newsgroup):

http://groups.google.com/group/comp.lang.python/browse_frm/thread/ebcd82c4f3c2d483/ad791fdd4734579c?tvc=1&q=%22removing+self%22#ad791fdd4734579c


-Peter




More information about the Python-list mailing list