The need to put "self" in every method

Peter Maas peter at somewhere.com
Thu Jun 2 03:41:47 EDT 2005


Aahz schrieb:
>>Because Python has no declarations there must be a different way to
>>indicate in which category an identifier falls.
[...]
> Any objection to swiping this for the FAQ?  (Probably with some minor
> edits.)

There is already a 'self' section (1.4.4) in the official Python FAQ.
Looks like this has been forgotten. Perhaps it would be helpful to
create a short version of the FAQ with the top most frequently asked
questions/stumbling blocks/annoyances titled "top 10 things you always
wanted to know about Python and didn't dare to ask" and post it weekly
in this newsgroup :)

-- 
-------------------------------------------------------------------
Peter Maas,  M+R Infosysteme,  D-52070 Aachen,  Tel +49-241-93878-0
E-mail 'cGV0ZXIubWFhc0BtcGx1c3IuZGU=\n'.decode('base64')
-------------------------------------------------------------------



More information about the Python-list mailing list