The need to put "self" in every method

Aahz aahz at pythoncraft.com
Thu Jun 2 20:00:21 EDT 2005


In article <d7md7h$gtk$1 at swifty.westend.com>,
Peter Maas  <peter at somewhere.com> wrote:
>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 :)

Ahhh...  I looked in the Programming FAQ, but not the General FAQ.  I
still think that section could use some clarification based on Piet's
wording, but it's less urgent.
-- 
Aahz (aahz at pythoncraft.com)           <*>         http://www.pythoncraft.com/

"The only problem with Microsoft is they just have no taste." --Steve Jobs



More information about the Python-list mailing list