Method / Functions - What are the differences?
jjposner at optimum.net
Tue Mar 2 15:17:00 CET 2010
On 3/2/2010 3:57 AM, Bruno Desthuilliers wrote:
>> With the instance object (if any) and class object available,
>> it's easy to create a method object that wraps the function object.
> That's perfect.
> But there's also a typo to fix in the Python implementation of the
> Method object: in the call method, it should inject self.im_self as
> first arg, not self.im_func. This had been spotted by someone named John
> Posner, IIRC !-)
I've updated the text at this location:
I think the ball is back in your court, Bruno. I'd be happy to help more
-- feel free to contact me off-list, at jjposner at optimum.net.
More information about the Python-list