How to get the class instance of a passed method ?

Bruno Desthuilliers bdesth.quelquechose at free.quelquepart.fr
Tue Nov 25 14:32:49 EST 2008


Arnaud Delobelle a écrit :
(snip)
> .im_self will become example.method.__self__ and in python 3.  But I
> can't see the equivalen of .im_class?
> 
At worst, you'll still have example.method.__self__.__class__ !-)



More information about the Python-list mailing list