Thu, 11 Mar 2010 01:47:30 -0300, Radhakrishna Bhat
> escribió:
>
>
> I am using getattr to get a method instance from a class. But it also
>> returns methods from the superclass. How to detect if an attribute is from
>> superclass?
>>
>
> You may look it up dir
oblem.
-Radhakrishna
On Thu, Mar 11, 2010 at 6:12 PM, Steve Holden wrote:
> Radhakrishna Bhat wrote:
> > I am using getattr to get a method instance from a class. But it also
> > returns methods from the superclass. How to detect if an attribute is
> > from superclass?
>
I am using getattr to get a method instance from a class. But it also
returns methods from the superclass. How to detect if an attribute is from
superclass?
-Radhakrishna
--
http://mail.python.org/mailman/listinfo/python-list