to pass self or not to pass self

Jonathan Gardner jgardner at jonathangardner.net
Tue Mar 16 16:15:13 EDT 2010


On Tue, Mar 16, 2010 at 2:04 AM, Bruno Desthuilliers
<bruno.42.desthuilliers at websiteburo.invalid> wrote:
> lallous a écrit :
>>
>> What is the difference between the reference in 'F' and 'func_tbl' ?
>
> Answer here:
>
> http://wiki.python.org/moin/FromFunctionToMethod
>

Among all the things in the Python language proper, this is probably
the most confusing thing for new programmers. Heck, even experienced
programmers get tangled up because they project how they think things
should work on to the Python model.

The second most confusing thing is probably how objects get instantiated.

-- 
Jonathan Gardner
jgardner at jonathangardner.net



More information about the Python-list mailing list